diff options
Diffstat (limited to 'source4/include')
-rw-r--r-- | source4/include/byteorder.h | 2 | ||||
-rw-r--r-- | source4/include/smb_interfaces.h | 3 |
2 files changed, 1 insertions, 4 deletions
diff --git a/source4/include/byteorder.h b/source4/include/byteorder.h index ed0eababdd..94a346f89d 100644 --- a/source4/include/byteorder.h +++ b/source4/include/byteorder.h @@ -106,7 +106,7 @@ it also defines lots of intermediate macros, just ignore those :-) #endif #define CVAL(buf,pos) ((unsigned)(((const unsigned char *)(buf))[pos])) -#define CVAL_NC(buf,pos) ((unsigned)(((unsigned char *)(buf))[pos])) /* Non-const version of CVAL */ +#define CVAL_NC(buf,pos) (((unsigned char *)(buf))[pos]) /* Non-const version of CVAL */ #define PVAL(buf,pos) (CVAL(buf,pos)) #define SCVAL(buf,pos,val) (CVAL_NC(buf,pos) = (val)) diff --git a/source4/include/smb_interfaces.h b/source4/include/smb_interfaces.h index 30e5efe97e..575590c364 100644 --- a/source4/include/smb_interfaces.h +++ b/source4/include/smb_interfaces.h @@ -1454,9 +1454,6 @@ union smb_lock { struct { enum lock_level level; - struct { - - } in; } generic; /* SMBlock interface */ |