diff options
Diffstat (limited to 'extern/cuew/auto/cuda_extra.py')
-rw-r--r-- | extern/cuew/auto/cuda_extra.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/extern/cuew/auto/cuda_extra.py b/extern/cuew/auto/cuda_extra.py index fd4f466df83..5fd2c179339 100644 --- a/extern/cuew/auto/cuda_extra.py +++ b/extern/cuew/auto/cuda_extra.py @@ -101,7 +101,7 @@ int cuewCompilerVersion(void) { while (!feof(pipe)) { if (fgets(buf, sizeof(buf), pipe) != NULL) { - strncat(output, buf, sizeof(output) - strlen(output)); + strncat(output, buf, sizeof(output) - strlen(output) - 1); } } |