diff options
author | Karl Williamson <khw@cpan.org> | 2021-07-24 07:30:53 -0600 |
---|---|---|
committer | Karl Williamson <khw@cpan.org> | 2021-07-30 06:11:46 -0600 |
commit | b74cfaffad2529c0c699eaa4462c03fbd7fed423 (patch) | |
tree | c9bd1d054f914add14d504ec57e85daefadac9b1 /util.h | |
parent | 4c08ae9e2fd6632af4c6d31eb2b2491266ca2586 (diff) | |
download | perl-b74cfaffad2529c0c699eaa4462c03fbd7fed423.tar.gz |
util.h: Save a '&' instr by casting to U8
Diffstat (limited to 'util.h')
-rw-r--r-- | util.h | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -203,7 +203,7 @@ typedef struct { /* if in the future "" and NULL must be separated, XSVERLEN would be 0 means arg not present, 1 is empty string/null byte */ /* (((key) & 0x0000FF00) >> 8) is less efficient on Visual C */ -#define HS_GETXSVERLEN(key) ((key) >> 8 & 0xFF) +#define HS_GETXSVERLEN(key) ((U8) ((key) >> 8)) #define HS_GETAPIVERLEN(key) ((key) & HSm_APIVERLEN) /* internal to util.h macro to create a packed handshake key, all args must be constants */ |