From e2daeebd989e7b64d97118a9b0f0b15d20fe3cc5 Mon Sep 17 00:00:00 2001 From: Rival Date: Sun, 14 Aug 2016 20:06:09 +0300 Subject: Fix warning on Windows. (#89) --- src/scripts/Commands/cs_character.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/scripts/Commands/cs_character.cpp') diff --git a/src/scripts/Commands/cs_character.cpp b/src/scripts/Commands/cs_character.cpp index d78de158b9..0202a5444b 100644 --- a/src/scripts/Commands/cs_character.cpp +++ b/src/scripts/Commands/cs_character.cpp @@ -520,7 +520,7 @@ public: do{ uint64 _guid = result->Fetch()[0].GetUInt64(); char buff[20]; - sprintf(buff,"%u.dump", _guid); + sprintf(buff,"%I64u", _guid); switch(PlayerDumpWriter().WriteDump(buff, uint32(_guid))) { case DUMP_SUCCESS: -- cgit v1.2.3