#define SILC_PUT16_LSB ...
Put two 8-bit bytes, least significant bytes first.
#if defined(SILC_I486) && defined(__GNUC__) #define SILC_PUT16_LSB(l, cp) (*(SilcUInt16 *)(cp)) = (l) #else #define SILC_PUT16_LSB(l, cp) \ do { \ (cp)[0] = (SilcUInt8)(l); \ (cp)[1] = (SilcUInt8)((l) >> 8); \ } while(0) #endif /* SILC_I486 && __GNUC__ */