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 | 0b34c9aefe342c6ffe11d2d4720d7c06c157e04d (patch) | |
tree | d3371ccdafc2ee276ac7c5cecc77a905283e656d /src/window.h | |
parent | fb7964e90270d4471774a4625e5ef03dd7a6eae2 (diff) | |
download | openttd-0b34c9aefe342c6ffe11d2d4720d7c06c157e04d.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); |