summaryrefslogtreecommitdiffhomepage
path: root/Stars45/SimObject.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'Stars45/SimObject.cpp')
-rw-r--r--Stars45/SimObject.cpp2
1 files changed, 1 insertions, 1 deletions
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;
}