Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mono/libgit2.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEdward Thomson <ethomson@edwardthomson.com>2015-11-21 19:26:18 +0300
committerEdward Thomson <ethomson@edwardthomson.com>2015-11-21 19:26:18 +0300
commit66e4e6da594653c461c4344e23738bad153320a1 (patch)
tree09305d5d4d5443ff6ca92efed41162dbe0b85583
parentc4f60543b7ccfce852ebdc8c12b62c99a5d4c2a5 (diff)
parente78e8fae5c0fe00327512b1f0b9ffd6ef696d29b (diff)
Merge pull request #3515 from jacquesg/unsigned-signed
Fix <0 unsigned comparison (stat.st_size should be an off_t)
-rw-r--r--src/win32/win32-compat.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/win32/win32-compat.h b/src/win32/win32-compat.h
index 8b4070df7..d3a5b68a3 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;