Commit 66e4e6da594653c461c4344e23738bad153320a1

Edward Thomson 2015-11-21T11:26:18

Merge pull request #3515 from jacquesg/unsigned-signed Fix <0 unsigned comparison (stat.st_size should be an off_t)

1
2
3
4
5
6
7
8
9
10
11
12
13
diff --git a/src/win32/win32-compat.h b/src/win32/win32-compat.h
index 8b4070d..d3a5b68 100644
--- a/src/win32/win32-compat.h
+++ b/src/win32/win32-compat.h
@@ -28,7 +28,7 @@ struct p_stat {
 	short st_uid;
 	short st_gid;
 	_dev_t st_rdev;
-	uint64_t st_size;
+	__int64 st_size;
 	struct timespec st_atim;
 	struct timespec st_mtim;
 	struct timespec st_ctim;