diff options
author | rubidium <rubidium@openttd.org> | 2007-06-21 19:08:47 +0000 |
---|---|---|
committer | rubidium <rubidium@openttd.org> | 2007-06-21 19:08:47 +0000 |
commit | 328d369f6498d03a51a4150d4851fc59d4aa948e (patch) | |
tree | d3371ccdafc2ee276ac7c5cecc77a905283e656d /src/window.h | |
parent | f91e05a66ba2f220d2b92b3f6484ad29b44d37d7 (diff) | |
download | openttd-328d369f6498d03a51a4150d4851fc59d4aa948e.tar.xz |
(svn r10262) -Fix (r10258): some places that needed to be changed to uint64 were hidden/forgotten, which caused memory corruptions and that in caused all kinds of assertions to trigger.
Diffstat (limited to 'src/window.h')
-rw-r--r-- | src/window.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/window.h b/src/window.h index f1888c294..958e95ef6 100644 --- a/src/window.h +++ b/src/window.h @@ -321,7 +321,7 @@ assert_compile(WINDOW_CUSTOM_SIZE >= sizeof(tree_d)); struct tooltips_d { StringID string_id; byte paramcount; - uint32 params[5]; + uint64 params[5]; }; assert_compile(WINDOW_CUSTOM_SIZE >= sizeof(tooltips_d)); @@ -764,7 +764,7 @@ void CDECL SetWindowWidgetsHiddenState(Window *w, bool hidden_stat, int widgets, void CDECL SetWindowWidgetsLoweredState(Window *w, bool lowered_stat, int widgets, ...); /* misc_gui.cpp */ -void GuiShowTooltipsWithArgs(StringID str, uint paramcount, const uint params[]); +void GuiShowTooltipsWithArgs(StringID str, uint paramcount, const uint64 params[]); static inline void GuiShowTooltips(StringID str) { GuiShowTooltipsWithArgs(str, 0, NULL); |