Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
7
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
Xiph.Org
aom-rav1e
Commits
f80d8011
Commit
f80d8011
authored
May 27, 2016
by
Tom Finegan
Committed by
Gerrit Code Review
May 27, 2016
Browse files
Options
Browse Files
Download
Plain Diff
Merge "vpx_ports/mem_ops.h: cast the lhs of bitwise shifts of 24."
parents
f6ac6cf5
f1de6226
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
vpx_ports/mem_ops.h
vpx_ports/mem_ops.h
+2
-2
No files found.
vpx_ports/mem_ops.h
View file @
f80d8011
...
...
@@ -89,7 +89,7 @@ static unsigned MEM_VALUE_T mem_get_be32(const void *vmem) {
unsigned
MEM_VALUE_T
val
;
const
MAU_T
*
mem
=
(
const
MAU_T
*
)
vmem
;
val
=
((
unsigned
int
)
mem
[
0
])
<<
24
;
val
=
((
unsigned
MEM_VALUE_T
)
mem
[
0
])
<<
24
;
val
|=
mem
[
1
]
<<
16
;
val
|=
mem
[
2
]
<<
8
;
val
|=
mem
[
3
];
...
...
@@ -125,7 +125,7 @@ static unsigned MEM_VALUE_T mem_get_le32(const void *vmem) {
unsigned
MEM_VALUE_T
val
;
const
MAU_T
*
mem
=
(
const
MAU_T
*
)
vmem
;
val
=
mem
[
3
]
<<
24
;
val
=
((
unsigned
MEM_VALUE_T
)
mem
[
3
]
)
<<
24
;
val
|=
mem
[
2
]
<<
16
;
val
|=
mem
[
1
]
<<
8
;
val
|=
mem
[
0
];
...
...
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