diff options
Diffstat (limited to 'nGenEx/Joystick.cpp')
-rw-r--r-- | nGenEx/Joystick.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
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:
|