summaryrefslogtreecommitdiff
path: root/src/win32/dir.h
diff options
context:
space:
mode:
authorBen Straub <bs@github.com>2013-08-05 11:41:39 -0700
committerBen Straub <bs@github.com>2013-08-05 11:41:39 -0700
commitd85636190f127efa2ec4a6593124c037dfec0ba9 (patch)
tree1c19c3cd463e69472d6d58cebd560d8ec025796e /src/win32/dir.h
parent9b7d02ff2d9b87d61778ee7ef5e2d43bf4c561f0 (diff)
downloadlibgit2-d85636190f127efa2ec4a6593124c037dfec0ba9.tar.gz
Split UTF-16 and UTF-8 buffer sizes for win32
Also fixed up call-sites to use the correct buffer sizes, especially when converting to utf-8.
Diffstat (limited to 'src/win32/dir.h')
-rw-r--r--src/win32/dir.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/win32/dir.h b/src/win32/dir.h
index 7696d468e..a3e154972 100644
--- a/src/win32/dir.h
+++ b/src/win32/dir.h
@@ -11,7 +11,7 @@
struct git__dirent {
int d_ino;
- char d_name[261];
+ char d_name[260*4+1];
};
typedef struct {