summaryrefslogtreecommitdiff
path: root/source3/utils
diff options
context:
space:
mode:
Diffstat (limited to 'source3/utils')
-rw-r--r--source3/utils/editreg.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/utils/editreg.c b/source3/utils/editreg.c
index ff48bc5bf0..08561dd868 100644
--- a/source3/utils/editreg.c
+++ b/source3/utils/editreg.c
@@ -341,7 +341,7 @@ Hope this helps.... (Although it was "fun" for me to uncover this things,
#define SSVAL(buf, val) \
((((unsigned char *)(buf))[0])=(unsigned char)((val)&0xFF),\
- (((unsigned char *)(buf))[1])=(unsigned char)(((val)>>8)&0xFF))
+ (((unsigned char *)(buf))[1])=(unsigned char)((val)>>8))
static int verbose = 0;
static int print_security = 0;