shithub: mcfs

Download patch

ref: d4879b4b179f892b55fd1fd6adae62ffb14aad8c
parent: e14f60ea098c00a35a8efef5f7bba14ec18a12ed
author: Sigrid Solveig Haflínudóttir <ftrvxmtrx@gmail.com>
date: Wed Aug 11 16:07:15 EDT 2021

ivf2raw: fix wrong timestamps

--- a/extra/ivf2raw.c
+++ b/extra/ivf2raw.c
@@ -38,7 +38,7 @@
 	int x, i;
 
 	*o = 0;
-	for(i = 0; i < 8; *o |= x<<(i*8), i++){
+	for(i = 0; i < 8; *o |= (uvlong)x<<(i*8), i++){
 		if((x = Bgetc(b)) < 0){
 			werrstr("failed to read 8 bytes");
 			return -1;