From 0b34c9aefe342c6ffe11d2d4720d7c06c157e04d Mon Sep 17 00:00:00 2001 From: rubidium Date: Thu, 21 Jun 2007 19:08:47 +0000 Subject: (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. --- src/window.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/window.h') 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); -- cgit v1.2.3-54-g00ecf