svn commit: samba r2961 - in branches/SAMBA_4_0/source/include: .

tridge at samba.org tridge at samba.org
Thu Oct 14 05:38:48 GMT 2004


Author: tridge
Date: 2004-10-14 05:38:48 +0000 (Thu, 14 Oct 2004)
New Revision: 2961

WebSVN: http://websvn.samba.org/websvn/changeset.php?rep=samba&path=/branches/SAMBA_4_0/source/include&rev=2961&nolog=1

Log:
fixed a silly typo

Modified:
   branches/SAMBA_4_0/source/include/byteorder.h


Changeset:
Modified: branches/SAMBA_4_0/source/include/byteorder.h
===================================================================
--- branches/SAMBA_4_0/source/include/byteorder.h	2004-10-14 05:26:35 UTC (rev 2960)
+++ branches/SAMBA_4_0/source/include/byteorder.h	2004-10-14 05:38:48 UTC (rev 2961)
@@ -149,8 +149,8 @@
 #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)))



More information about the samba-cvs mailing list