Skip to content
Snippets Groups Projects
Commit bd0e88f0 authored by Hugo Beauzée-Luyssen's avatar Hugo Beauzée-Luyssen Committed by Jean-Baptiste Kempf
Browse files

vmget: Fix undefined shift

parent 2dbafd1b
No related branches found
No related tags found
1 merge request!23vmget: Fix undefined shift
Pipeline #228870 passed with stage
in 1 minute and 16 seconds
......@@ -144,7 +144,7 @@ int vm_get_subp_stream(vm_t *vm, int subpN, int mode) {
if(subpN < 32) { /* a valid logical stream */
/* Is this logical stream present */
if((vm->state).pgc->subp_control[subpN] & (1<<31)) {
if((vm->state).pgc->subp_control[subpN] & (1u<<31)) {
if(source_aspect == 0) /* 4:3 */
streamN = ((vm->state).pgc->subp_control[subpN] >> 24) & 0x1f;
if(source_aspect == 3) /* 16:9 */
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment