diff options
author | Luke Leighton <lkcl@samba.org> | 2000-03-06 04:09:20 +0000 |
---|---|---|
committer | Luke Leighton <lkcl@samba.org> | 2000-03-06 04:09:20 +0000 |
commit | a5c9742fc4df8019acc882c413008f97a31f1ccf (patch) | |
tree | e4197c5995a5cbbde0bb454b335e30dd071c8699 | |
parent | ebdc99e80b1c10283de802f4b2d812167a988b6f (diff) | |
download | samba-a5c9742fc4df8019acc882c413008f97a31f1ccf.tar.gz |
fixing careful alignment IVAL const issues
-rw-r--r-- | source/include/byteorder.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/include/byteorder.h b/source/include/byteorder.h index a9c7d1d65ae..d5dadb44acf 100644 --- a/source/include/byteorder.h +++ b/source/include/byteorder.h @@ -137,7 +137,7 @@ it also defines lots of intermediate macros, just ignore those :-) #define SCVAL(buf,pos,val) (CVAL(buf,pos) = (val)) #define CVALCONST(buf,pos) (((const unsigned char *)(buf))[pos]) -#define PVALCONST(buf,pos) ((const unsigned)CVAL(buf,pos)) +#define PVALCONST(buf,pos) ((const unsigned)CVALCONST(buf,pos)) #if CAREFUL_ALIGNMENT |