diff options
Diffstat (limited to 'src/test_osinst.c')
-rw-r--r-- | src/test_osinst.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/test_osinst.c b/src/test_osinst.c index 4ae23a87c..e51ce77ef 100644 --- a/src/test_osinst.c +++ b/src/test_osinst.c @@ -644,9 +644,9 @@ static void vfslog_flush(VfslogVfs *p){ static void put32bits(unsigned char *p, unsigned int v){ p[0] = v>>24; - p[1] = v>>16; - p[2] = v>>8; - p[3] = v; + p[1] = (unsigned char)(v>>16); + p[2] = (unsigned char)(v>>8); + p[3] = (unsigned char)v; } static void vfslog_call( |