From 96431eabace6669da969dce5c82275c272b938a4 Mon Sep 17 00:00:00 2001 From: Jason Perkins Date: Thu, 7 May 2015 15:41:58 -0400 Subject: [PATCH] Fix a type mismatch warning from Clang --- src/host/os_writefile_ifnotequal.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/host/os_writefile_ifnotequal.c b/src/host/os_writefile_ifnotequal.c index b0e0a7f3..bfc52573 100644 --- a/src/host/os_writefile_ifnotequal.c +++ b/src/host/os_writefile_ifnotequal.c @@ -19,7 +19,7 @@ static int compare_file(const char* content, size_t length, const char* dst) { FILE* file = fopen(dst, "rb"); - long size; + size_t size; char buffer[4096]; int num;