summaryrefslogtreecommitdiff
path: root/src/script
diff options
context:
space:
mode:
Diffstat (limited to 'src/script')
-rw-r--r--src/script/squirrel.hpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/script/squirrel.hpp b/src/script/squirrel.hpp
index cfe54b36e..412011ccc 100644
--- a/src/script/squirrel.hpp
+++ b/src/script/squirrel.hpp
@@ -63,12 +63,12 @@ protected:
/**
* If a user runs 'print' inside a script, this function gets the params.
*/
- static void PrintFunc(HSQUIRRELVM vm, const SQChar *s, ...);
+ static void PrintFunc(HSQUIRRELVM vm, const SQChar *s, ...) WARN_FORMAT(2, 3);
/**
* If an error has to be print, this function is called.
*/
- static void ErrorPrintFunc(HSQUIRRELVM vm, const SQChar *s, ...);
+ static void ErrorPrintFunc(HSQUIRRELVM vm, const SQChar *s, ...) WARN_FORMAT(2, 3);
public:
Squirrel(const char *APIName);