diff options
author | Jan200101 <sentrycraft123@gmail.com> | 2020-11-23 18:40:31 +0100 |
---|---|---|
committer | Jan200101 <sentrycraft123@gmail.com> | 2020-11-23 18:40:31 +0100 |
commit | 42a0a0c0488ed38cc60ee8d4b006a42ed1e4dc95 (patch) | |
tree | e339344aedf9b64686fc686dc121b8dcc755f038 /src | |
parent | 5a96860979c776c9d2b643b760d2da24f349241e (diff) | |
download | polecat-42a0a0c0488ed38cc60ee8d4b006a42ed1e4dc95.tar.gz polecat-42a0a0c0488ed38cc60ee8d4b006a42ed1e4dc95.zip |
get the size of the correct variable0.1.9
sizeof(dxvkdir) returns the size of void*, not what we want
Diffstat (limited to 'src')
-rw-r--r-- | src/dxvk.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -62,7 +62,7 @@ int dxvk_download(int argc, char** argv) struct MemoryStruct* archive; char dxvkdir[PATH_MAX]; - getDXVKDir(dxvkdir, sizeof(dxvk)); + getDXVKDir(dxvkdir, sizeof(dxvkdir)); makeDir(dxvkdir); printf("Downloading %s\n", name); |