From d0eb7e56991881a0c5686c66d41c2e147fea03da Mon Sep 17 00:00:00 2001 From: Vadim Zeitlin Date: Tue, 25 Dec 2001 22:38:01 +0000 Subject: [PATCH] fixed compilation for strict ANSI compilers git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13193 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- src/generic/grid.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/generic/grid.cpp b/src/generic/grid.cpp index 527c9dc906..4ff5e599b6 100644 --- a/src/generic/grid.cpp +++ b/src/generic/grid.cpp @@ -403,12 +403,12 @@ static const int GRID_HASH_SIZE = 100; // private functions // ---------------------------------------------------------------------------- -static inline GetScrollX(int x) +static inline int GetScrollX(int x) { return (x + GRID_SCROLL_LINE_X - 1) / GRID_SCROLL_LINE_X; } -static inline GetScrollY(int y) +static inline int GetScrollY(int y) { return (y + GRID_SCROLL_LINE_Y - 1) / GRID_SCROLL_LINE_Y; } -- 2.47.2