summaryrefslogtreecommitdiff
path: root/Ivy
diff options
context:
space:
mode:
Diffstat (limited to 'Ivy')
-rw-r--r--Ivy/Regexp.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/Ivy/Regexp.h b/Ivy/Regexp.h
index 3e036d9..b41d88e 100644
--- a/Ivy/Regexp.h
+++ b/Ivy/Regexp.h
@@ -16,9 +16,9 @@ public:
bool Match( const char * s );
int SubStrings() const;
- const ivy::string operator[]( unsigned int i ) const;
- int SubStart( unsigned int i ) const;
- int SubLength( unsigned int i ) const;
+ const ivy::string operator[]( size_t i ) const;
+ size_t SubStart( size_t i ) const;
+ size_t SubLength( size_t i ) const;
ivy::string GetReplaceString( const char * source ) const;
@@ -34,7 +34,7 @@ private:
regexp * rc;
void ClearErrorString() const;
- int safeIndex( unsigned int i ) const;
+ size_t safeIndex( size_t i ) const;
};