Skip to content

Commit 641de74

Browse files
author
david.algis
committed
🐛 Fixed snprintf with cufft check
1 parent e2dbe8d commit 641de74

File tree

4 files changed

+1
-1
lines changed

4 files changed

+1
-1
lines changed
Binary file not shown.
0 Bytes
Binary file not shown.
0 Bytes
Binary file not shown.

Plugin/Utilities/include/cuda_include.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,7 @@ inline void cufftAssert(int cufftResult, const char* file, int line)
8383
break;
8484
}
8585
char buffer[2048];
86-
sprintf_s(buffer, "Cufft error: %i %s %s %d\n", cufftResult, cufftInterpret, file, line);
86+
sprintf_s(buffer, "Cufft error: %i %s %s %d\n", cufftResult, cufftInterpret.c_str(), file, line);
8787
std::string strError(buffer);
8888
Log::log().debugLogError(buffer);
8989
}

0 commit comments

Comments
 (0)