summaryrefslogtreecommitdiff
path: root/source3/include/byteorder.h
diff options
context:
space:
mode:
authorLuke Leighton <lkcl@samba.org>1997-10-14 17:01:43 +0000
committerLuke Leighton <lkcl@samba.org>1997-10-14 17:01:43 +0000
commit6084046eede3652d7cabafb33227e940f00f92a8 (patch)
treef9c79437c761a732a9b9b5ebe3841f1491021446 /source3/include/byteorder.h
parenteadada905c8e46cb2e58c84c36bd2d98c1ea48cc (diff)
downloadsamba-6084046eede3652d7cabafb33227e940f00f92a8.tar.gz
samba-6084046eede3652d7cabafb33227e940f00f92a8.tar.bz2
samba-6084046eede3652d7cabafb33227e940f00f92a8.zip
credentials, query info reply.
(This used to be commit 9b095887df204393090d7da9a47508685ddd5163)
Diffstat (limited to 'source3/include/byteorder.h')
-rw-r--r--source3/include/byteorder.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/source3/include/byteorder.h b/source3/include/byteorder.h
index a6f826b518..06337b91a2 100644
--- a/source3/include/byteorder.h
+++ b/source3/include/byteorder.h
@@ -220,10 +220,10 @@ it also defines lots of intermediate macros, just ignore those :-)
#define DBG_RW_SVAL(string,depth,base,read,inbuf,outbuf) \
RW_SVAL(read,inbuf,outbuf,0) \
DEBUG(5,("%s%04x %s: %04x\n", \
- tab_depth(depth), PTR_DIFF(inbuf,base),string, *(inbuf)));
+ tab_depth(depth), PTR_DIFF(inbuf,base),string, *((uint16*)(inbuf))));
#define DBG_RW_IVAL(string,depth,base,read,inbuf,outbuf) \
RW_IVAL(read,inbuf,outbuf,0) \
DEBUG(5,("%s%04x %s: %08x\n", \
- tab_depth(depth), PTR_DIFF(inbuf,base),string, *(inbuf)));
+ tab_depth(depth), PTR_DIFF(inbuf,base),string, *((uint32*)(inbuf))));