diff options
author | Max Horn | 2009-07-03 10:40:49 +0000 |
---|---|---|
committer | Max Horn | 2009-07-03 10:40:49 +0000 |
commit | cbea1a11935074090f737737e0a26d43cd708f89 (patch) | |
tree | 823cce2d1933f519fefc17a3f40adc1e802e3a18 /engines/sword1 | |
parent | 9664050ff07214ccd2ae2189475ddde80e7630ef (diff) | |
download | scummvm-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.h | 2 |
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); |