aboutsummaryrefslogtreecommitdiff
path: root/engines/sword1
diff options
context:
space:
mode:
authorMax Horn2009-07-03 10:40:49 +0000
committerMax Horn2009-07-03 10:40:49 +0000
commitcbea1a11935074090f737737e0a26d43cd708f89 (patch)
tree823cce2d1933f519fefc17a3f40adc1e802e3a18 /engines/sword1
parent9664050ff07214ccd2ae2189475ddde80e7630ef (diff)
downloadscummvm-rg350-cbea1a11935074090f737737e0a26d43cd708f89.tar.gz
scummvm-rg350-cbea1a11935074090f737737e0a26d43cd708f89.tar.bz2
scummvm-rg350-cbea1a11935074090f737737e0a26d43cd708f89.zip
Added more GCC_PRINTF attributes, and fixed resulting warnings in format strings
svn-id: r42054
Diffstat (limited to 'engines/sword1')
-rw-r--r--engines/sword1/control.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/sword1/control.h b/engines/sword1/control.h
index d6adc61c3a..0193afc7f1 100644
--- a/engines/sword1/control.h
+++ b/engines/sword1/control.h
@@ -101,7 +101,7 @@ public:
}
private:
- int displayMessage(const char *altButton, const char *message, ...);
+ int displayMessage(const char *altButton, const char *message, ...) GCC_PRINTF(3, 4);
bool convertSaveGame(uint8 slot, char* desc);
void showSavegameNames(void);