diff options
author | Leo Tenenbaum <pommicket@gmail.com> | 2021-01-29 10:44:46 -0500 |
---|---|---|
committer | Leo Tenenbaum <pommicket@gmail.com> | 2021-01-29 10:44:46 -0500 |
commit | 6f6ae8af3e3fdee60d38fa12f25ff83097522807 (patch) | |
tree | 353936408eb0329a9833db8d847e1e4a69ae18b8 /filesystem-win.c | |
parent | 31b5649b131695300f39563640c4af8f0d3032cb (diff) |
got windows build to work again
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 <= |