git.samba.org
/
kai
/
samba-autobuild
/
.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
45940ef
)
Attempt to fix "make test" on host "tridge"
author
Volker Lendecke
<vl@samba.org>
Mon, 2 Feb 2009 14:43:32 +0000
(15:43 +0100)
committer
Volker Lendecke
<vl@samba.org>
Mon, 2 Feb 2009 14:39:13 +0000
(15:39 +0100)
lib/util/byteorder.h
patch
|
blob
|
history
diff --git
a/lib/util/byteorder.h
b/lib/util/byteorder.h
index 894beccabf941f7df9ac7d16b8820aedd4a03c52..b860dea7919350d1f2e9799df84896afeb5264f1 100644
(file)
--- 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)