diff --git a/src/backend/libpq/pqcomprim.c b/src/backend/libpq/pqcomprim.c index f73b48201113cefc908298cebd6eb52443c270a8..d10be39d81706ca9872368da1adc591505fbe5ef 100644 --- a/src/backend/libpq/pqcomprim.c +++ b/src/backend/libpq/pqcomprim.c @@ -24,10 +24,10 @@ # define hton_l(n) n #else /* BYTE_ORDER != LITTLE_ENDIAN */ # if BYTE_ORDER == BIG_ENDIAN -# define ntoh_s(n) (u_short)(((u_char *) &n)[0] << 8 | ((u_char *) &n)[1]); +# define ntoh_s(n) (u_short)(((u_char *) &n)[0] << 8 | ((u_char *) &n)[1]) # define ntoh_l(n) (u_long)(((u_char *)&n)[0] << 24 | \ ((u_char *)&n)[1] << 16 | \ - ((u_char *)&n)[2] << 8 | ((u_char *)&n)[3]); + ((u_char *)&n)[2] << 8 | ((u_char *)&n)[3]) # define hton_s(n) (ntoh_s(n)) # define hton_l(n) (ntoh_l(n)) # else /* BYTE_ORDER != BIG_ENDIAN */