mirror of
https://github.com/samba-team/samba.git
synced 2025-03-12 20:58:37 +03:00
CVAL_NC() doesn't need the (unsigned) fix and breaks the IRIX build
Thanks to Herb for pointing this out! (This used to be commit 87ede8d310db10d92b4ff57e67d3b53cbb7697fb)
This commit is contained in:
parent
d5c632cebb
commit
f1e71ed1b9
@ -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))
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user