From d489095bcdf9603053ebd514588093a991605ffb Mon Sep 17 00:00:00 2001 From: "FWoltermann@gmail.com" Date: Fri, 9 Dec 2011 15:37:22 +0000 Subject: More string and fopen safety measures --- nGenEx/Joystick.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'nGenEx/Joystick.cpp') diff --git a/nGenEx/Joystick.cpp b/nGenEx/Joystick.cpp index a2b80af..22dbfba 100644 --- a/nGenEx/Joystick.cpp +++ b/nGenEx/Joystick.cpp @@ -837,7 +837,7 @@ char* DIErrStr(HRESULT hr) { switch (hr) { default: - sprintf(errstrbuf, "Unrecognized error value = %08x.", hr); + sprintf_s(errstrbuf, "Unrecognized error value = %08x.", hr); return errstrbuf; case DI_OK: -- cgit v1.1