From 99f6da572f455b0ba17c341ec1a63c5826de3ecf Mon Sep 17 00:00:00 2001 From: Robin Haberkorn Date: Fri, 22 Feb 2013 05:40:25 +0100 Subject: use typedef for SciTECO integers and make it configurable at configure time * storage size should always be 64 (gint64) to aid macro portability * however, for performance reasons users compiling from source might explicitly compile with 32 bit integers --- src/search.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/search.cpp') diff --git a/src/search.cpp b/src/search.cpp index a56ce17..38aa011 100644 --- a/src/search.cpp +++ b/src/search.cpp @@ -54,7 +54,7 @@ namespace States { void StateSearch::initial(void) throw (Error) { - gint64 v1, v2; + tecoInt v1, v2; undo.push_var(parameters); @@ -473,7 +473,7 @@ StateSearch::done(const gchar *str) throw (Error) void StateSearchAll::initial(void) throw (Error) { - gint64 v1, v2; + tecoInt v1, v2; undo.push_var(parameters); -- cgit v1.2.3