diff options
author | Leo Tenenbaum <pommicket@gmail.com> | 2021-01-29 15:46:14 -0500 |
---|---|---|
committer | Leo Tenenbaum <pommicket@gmail.com> | 2021-01-29 15:46:14 -0500 |
commit | 565b5e619ed64f459f1b38b5b94bb72b5b9a714f (patch) | |
tree | b51c3c8cbac11346cafceb7c672222d74c4c7107 /filesystem-win.c | |
parent | 5230cb1533d9e30e9870975cba2cd7e7e86bc22a (diff) | |
parent | 6f6ae8af3e3fdee60d38fa12f25ff83097522807 (diff) |
merge
Diffstat (limited to 'filesystem-win.c')
-rw-r--r-- | filesystem-win.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/filesystem-win.c b/filesystem-win.c index d35597f..d9ff143 100644 --- a/filesystem-win.c +++ b/filesystem-win.c @@ -68,7 +68,7 @@ int fs_mkdir(char const *path) { int fs_get_cwd(char *buf, size_t buflen) { assert(buf && buflen); - DWORD pathlen = GetCurrentDirectory(buflen, buf); + DWORD pathlen = GetCurrentDirectory((DWORD)buflen, buf); if (pathlen == 0) { return -1; } else if (pathlen < buflen) { // it's confusing, but this is < and not <= |