summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRichard Sharpe <sharpe@samba.org>2003-05-09 06:23:15 +0000
committerRichard Sharpe <sharpe@samba.org>2003-05-09 06:23:15 +0000
commit00dde89dcdfd1ac961f483f21bf3023672ba84f5 (patch)
tree62e63d3d4cfc982e3499227e3e25bc6db8007288
parentc1b0d515d5376fccfd0f0e66513d212fb3e2d2b8 (diff)
downloadsamba-00dde89dcdfd1ac961f483f21bf3023672ba84f5.tar.gz
samba-00dde89dcdfd1ac961f483f21bf3023672ba84f5.tar.bz2
samba-00dde89dcdfd1ac961f483f21bf3023672ba84f5.zip
Some more fixes for syntax problems on AIX etc ...
(This used to be commit 20756925486b407fbb2cf06d776ad2ce19b00c74)
-rw-r--r--source3/utils/editreg.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/source3/utils/editreg.c b/source3/utils/editreg.c
index eb1ed9bef4..08561dd868 100644
--- a/source3/utils/editreg.c
+++ b/source3/utils/editreg.c
@@ -340,8 +340,8 @@ Hope this helps.... (Although it was "fun" for me to uncover this things,
(((unsigned char *)(buf))[3])=(unsigned char)((val)>>24))
#define SSVAL(buf, val) \
- ((unsigned char)buf[0]=(unsigned char)((val)&0xFF),\
- (unsigned char)buf[1]=(unsigned char)(((val)>>8)&0xFF))
+ ((((unsigned char *)(buf))[0])=(unsigned char)((val)&0xFF),\
+ (((unsigned char *)(buf))[1])=(unsigned char)((val)>>8))
static int verbose = 0;
static int print_security = 0;