From 70f182e8f51c1ddcff9ad4fb1b9bf72d5b3dc52e Mon Sep 17 00:00:00 2001 From: Andrew Tridgell Date: Thu, 14 Oct 2004 05:38:48 +0000 Subject: r2961: fixed a silly typo (This used to be commit f76a1cf640a909aa2a4e26e65f59020f9ab575f4) --- source4/include/byteorder.h | 4 ++-- 1 file 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))) -- cgit