The branch, master has been updated
       via  cfc27ece109fcc63016ad58c5f584b5459f57945 (commit)
      from  45940ef23a6560a100ba400249e92451eb6d5b84 (commit)

http://gitweb.samba.org/?p=samba.git;a=shortlog;h=master


- Log -----------------------------------------------------------------
commit cfc27ece109fcc63016ad58c5f584b5459f57945
Author: Volker Lendecke <v...@samba.org>
Date:   Mon Feb 2 15:43:32 2009 +0100

    Attempt to fix "make test" on host "tridge"

-----------------------------------------------------------------------

Summary of changes:
 lib/util/byteorder.h |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)


Changeset truncated at 500 lines:

diff --git a/lib/util/byteorder.h b/lib/util/byteorder.h
index 894becc..b860dea 100644
--- a/lib/util/byteorder.h
+++ b/lib/util/byteorder.h
@@ -151,7 +151,7 @@ static __inline__ void st_le32(uint32_t *addr, const 
uint32_t val)
 
 #if HAVE_ASM_BYTEORDER
 
-#define  _PTRPOS(buf,pos) (((const uint8_t *)buf)+(pos))
+#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)


-- 
Samba Shared Repository

Reply via email to