summaryrefslogtreecommitdiff
path: root/Ivy/Regexp.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'Ivy/Regexp.cxx')
-rw-r--r--Ivy/Regexp.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/Ivy/Regexp.cxx b/Ivy/Regexp.cxx
index ebade4e..af667d3 100644
--- a/Ivy/Regexp.cxx
+++ b/Ivy/Regexp.cxx
@@ -278,7 +278,7 @@ public:
}
static inline char * regnext( char * p )
{
- const short &offset = *((short*)(p+1));
+ const short offset = *((short*)(p+1));
if (offset == 0)
return(NULL);