diff options
| author | Timothy Collett | 2012-05-24 11:31:20 -0400 |
|---|---|---|
| committer | Timothy Collett | 2012-05-24 11:31:20 -0400 |
| commit | 24d221052b2e5cce5eadf3a7183cc808dbb21236 (patch) | |
| tree | 8eca2859eecaa99365df6d87e973f7cde9505404 /library/modules | |
| parent | 20794ebf191d21d5acce274d70bdad4012deaa44 (diff) | |
| download | dfhack-24d221052b2e5cce5eadf3a7183cc808dbb21236.tar.gz dfhack-24d221052b2e5cce5eadf3a7183cc808dbb21236.tar.bz2 dfhack-24d221052b2e5cce5eadf3a7183cc808dbb21236.tar.xz | |
Initial changes to get dfhack building on the Mac
Diffstat (limited to 'library/modules')
| -rw-r--r-- | library/modules/Gui.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/library/modules/Gui.cpp b/library/modules/Gui.cpp index 2290110a..27ac3ddd 100644 --- a/library/modules/Gui.cpp +++ b/library/modules/Gui.cpp @@ -907,7 +907,7 @@ void Gui::showAnnouncement(std::string message, int color, bool bright) new_rep->flags.bits.continuation = continued; new_rep->flags.bits.announcement = true; - int size = std::min(message.size(), 73U); + int size = std::min(message.size(), (size_t)73); new_rep->text = message.substr(0, size); message = message.substr(size); |
