Skip to content

Commit 47f0793

Browse files
committed
[LINT] errors 64 and 1025
error 64: Type mismatch (Context) (TypeDiff) error 1025: No function matches invocation 'Name' on arg no. Integer A couple characters modified fixed both Lint errors. Signed-off-by: Jocelyn Legault <jocelynlegault@gmail.com>
1 parent a2362b1 commit 47f0793

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

PythonScript/src/stdafx.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@ typedef std::basic_string<TCHAR> tstring;
6666

6767
#define NO_DEFAULT_CASE default: {\
6868
TCHAR tmpBuf[MAX_PATH + 80];\
69-
swprintf_s(tmpBuf, MAX_PATH + 80, TEXT("%s(%d): %s"), TEXT(__FILE__), __LINE__, TEXT("Unhandled default case.\n"));\
69+
_stprintf_s(tmpBuf, MAX_PATH + 80, TEXT("%s(%d): %s"), TEXT(__FILE__), __LINE__, TEXT("Unhandled default case.\n"));\
7070
OutputDebugString(tmpBuf);\
7171
DebugBreak(); \
7272
}\

0 commit comments

Comments
 (0)