From 9a2f3d3377b82b597f00d1d8fb8ee58d141cfb95 Mon Sep 17 00:00:00 2001 From: "FWoltermann@gmail.com" Date: Fri, 9 Dec 2011 21:12:14 +0000 Subject: More string safety stuff --- Stars45/SimObject.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Stars45/SimObject.cpp') diff --git a/Stars45/SimObject.cpp b/Stars45/SimObject.cpp index b414e03..b753398 100644 --- a/Stars45/SimObject.cpp +++ b/Stars45/SimObject.cpp @@ -61,7 +61,7 @@ const char* SimObserver::GetObserverName() const { static char name[32]; - sprintf(name, "SimObserver 0x%08x", (DWORD) this); + sprintf_s(name, "SimObserver 0x%08x", (DWORD) this); return name; } -- cgit v1.1