diff options
author | Tor Lillqvist <tlillqvist@novell.com> | 2011-02-03 00:42:20 +0200 |
---|---|---|
committer | Tor Lillqvist <tlillqvist@novell.com> | 2011-02-03 00:44:33 +0200 |
commit | 422b2c72a315d209a4fbcaae1d87394eb9e732a7 (patch) | |
tree | 6390b8ba155f2ebb0a9f00c67fdcaa4c879dcd80 /soltools/inc | |
parent | 6ade6fe1e657b1c8092f6a6c18a4c7776590973d (diff) |
Silence compiler warnings
Diffstat (limited to 'soltools/inc')
-rw-r--r-- | soltools/inc/st_list.hxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/soltools/inc/st_list.hxx b/soltools/inc/st_list.hxx index da7e91c979b5..66a85c1255bb 100644 --- a/soltools/inc/st_list.hxx +++ b/soltools/inc/st_list.hxx @@ -63,7 +63,7 @@ class ST_List /// Soltools-List. void insert( iterator i_aPos, const XX & elem_ ) - { Insert(i_aPos-begin(), elem_); } + { Insert((unsigned)(i_aPos-begin()), elem_); } virtual void Insert( unsigned pos, const XX & elem ); @@ -72,7 +72,7 @@ class ST_List /// Soltools-List. { Insert(size(),elem_); } void remove( iterator i_aPos ) - { Remove(i_aPos-begin()); } + { Remove((int)(i_aPos-begin())); } virtual void Remove( unsigned pos ); void pop_back() { Remove(size()-1); } |