diff options
author | Andrew Tridgell <tridge@samba.org> | 2004-10-14 05:38:48 +0000 |
---|---|---|
committer | Gerald (Jerry) Carter <jerry@samba.org> | 2007-10-10 12:59:52 -0500 |
commit | 70f182e8f51c1ddcff9ad4fb1b9bf72d5b3dc52e (patch) | |
tree | 2848785adc46318bda8381cd86ab2a85d18cbdbc /source4/include/byteorder.h | |
parent | 3c1fdfa7fb55307e0b21bea63b7f976efbe139df (diff) | |
download | samba-70f182e8f51c1ddcff9ad4fb1b9bf72d5b3dc52e.tar.gz samba-70f182e8f51c1ddcff9ad4fb1b9bf72d5b3dc52e.tar.bz2 samba-70f182e8f51c1ddcff9ad4fb1b9bf72d5b3dc52e.zip |
r2961: fixed a silly typo
(This used to be commit f76a1cf640a909aa2a4e26e65f59020f9ab575f4)
Diffstat (limited to 'source4/include/byteorder.h')
-rw-r--r-- | source4/include/byteorder.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/source4/include/byteorder.h b/source4/include/byteorder.h index 5137b78e4c..d0402d0dcc 100644 --- a/source4/include/byteorder.h +++ b/source4/include/byteorder.h @@ -149,8 +149,8 @@ static __inline__ void st_le32(uint32_t *addr, const uint32_t val) #define _PTRPOS(buf,pos) (((const uint8_t *)buf)+(pos)) #define SVAL(buf,pos) ld_le16((const uint16_t *)_PTRPOS(buf,pos)) #define IVAL(buf,pos) ld_le32((const uint32_t *)_PTRPOS(buf,pos)) -#define SSVAL(buf,pos,val) st_le16((uint16_t *)__PTRPOS(buf,pos), val) -#define SIVAL(buf,pos,val) st_le32((uint32_t *)__PTRPOS(buf,pos), val) +#define SSVAL(buf,pos,val) st_le16((uint16_t *)_PTRPOS(buf,pos), val) +#define SIVAL(buf,pos,val) st_le32((uint32_t *)_PTRPOS(buf,pos), val) #define SVALS(buf,pos) ((int16_t)SVAL(buf,pos)) #define IVALS(buf,pos) ((int32_t)IVAL(buf,pos)) #define SSVALS(buf,pos,val) SSVAL((buf),(pos),((int16_t)(val))) |