Sync to the changes in head ...
authorRichard Sharpe <sharpe@samba.org>
Fri, 9 May 2003 06:23:55 +0000 (06:23 +0000)
committerRichard Sharpe <sharpe@samba.org>
Fri, 9 May 2003 06:23:55 +0000 (06:23 +0000)
(This used to be commit 7f76eac5a0f93107d990b0fde651838c38970092)

source3/utils/editreg.c

index ff48bc5bf0f29bcb86c8f8efbf43e27d322599fc..08561dd868772797ee422f12b37531ce894b1dfc 100644 (file)
@@ -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;