Skip to content
Snippets Groups Projects
Commit a792f4df authored by Nicolas Pope's avatar Nicolas Pope
Browse files

Fix msbuild golomb warning

parent e28777ef
No related branches found
No related tags found
No related merge requests found
......@@ -84,9 +84,8 @@ static inline int golombSigned(ParseContext *ctx) {
buf >>= log;
ctx->index += 32 - log;
if(buf & 1) buf = -(buf>>1);
else buf = (buf>>1);
return buf;
if(buf & 1) return -static_cast<int>(buf>>1);
else return buf >> 1;
}
}
......
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