Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
Joshua Root
libaacs
Commits
cee24ee2
Commit
cee24ee2
authored
Feb 09, 2016
by
npzacs
Browse files
Fix shift
parent
d92b2485
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/util/macro.h
View file @
cee24ee2
...
...
@@ -24,7 +24,7 @@
#define MKINT_BE16(X) ( (X)[0] << 8 | (X)[1] )
#define MKINT_BE24(X) ( (X)[0] << 16 | (X)[1] << 8 | (X)[2] )
#define MKINT_BE32(X) ( (X)[0] << 24 | (X)[1] << 16 | (X)[2] << 8 | (X)[3] )
#define MKINT_BE32(X) (
(uint32_t)
(X)[0] << 24 | (X)[1] << 16 | (X)[2] << 8 | (X)[3] )
#define MKINT_BE48(X) ( (uint64_t)((X)[0]) << 40 | (uint64_t)((X)[1]) << 32 | (uint64_t)((X)[2]) << 24 | \
(uint64_t)((X)[3]) << 16 | (uint64_t)((X)[4]) << 8 | (uint64_t)((X)[5]) )
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment