aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/search.cpp
diff options
context:
space:
mode:
authorRobin Haberkorn <robin.haberkorn@googlemail.com>2013-02-22 05:40:25 +0100
committerRobin Haberkorn <robin.haberkorn@googlemail.com>2013-02-22 05:40:25 +0100
commit99f6da572f455b0ba17c341ec1a63c5826de3ecf (patch)
treeb4e18e283b840127c21597a857be49403b2bb06b /src/search.cpp
parent5d5182158a982057a9fe4c7b3f3ac81e1536f1ff (diff)
downloadsciteco-99f6da572f455b0ba17c341ec1a63c5826de3ecf.tar.gz
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
Diffstat (limited to 'src/search.cpp')
-rw-r--r--src/search.cpp4
1 files changed, 2 insertions, 2 deletions
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);