diff options
author | Einar Johan Trøan Sømåen | 2012-07-27 18:13:42 +0200 |
---|---|---|
committer | Einar Johan Trøan Sømåen | 2012-07-27 18:13:42 +0200 |
commit | f6ac34ab9a48b702e3c3678cfd208ebeb2517dc4 (patch) | |
tree | 936197f2b55fae79012acf37b35ace0916257037 /engines/wintermute/ui | |
parent | 6262a2ac8751b1bfff7becc8cf181ab9dd16bf87 (diff) | |
download | scummvm-rg350-f6ac34ab9a48b702e3c3678cfd208ebeb2517dc4.tar.gz scummvm-rg350-f6ac34ab9a48b702e3c3678cfd208ebeb2517dc4.tar.bz2 scummvm-rg350-f6ac34ab9a48b702e3c3678cfd208ebeb2517dc4.zip |
WINTERMUTE: Get rid of almost all LLVM GCC 4.2 warnings.
Diffstat (limited to 'engines/wintermute/ui')
-rw-r--r-- | engines/wintermute/ui/ui_object.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/wintermute/ui/ui_object.cpp b/engines/wintermute/ui/ui_object.cpp index 9fe9cd18e4..d1a13200c8 100644 --- a/engines/wintermute/ui/ui_object.cpp +++ b/engines/wintermute/ui/ui_object.cpp @@ -102,7 +102,7 @@ void UIObject::setText(const char *text) { _text = new char [strlen(text) + 1];
if (_text) {
strcpy(_text, text);
- for (int i = 0; i < strlen(_text); i++) {
+ for (uint32 i = 0; i < strlen(_text); i++) {
if (_text[i] == '|') {
_text[i] = '\n';
}
|