projects
/
platform
/
upstream
/
libzypp.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
57475da
)
fix gcc warning
author
Michael Andres
<ma@suse.de>
Wed, 2 May 2012 18:38:14 +0000
(20:38 +0200)
committer
Michael Andres
<ma@suse.de>
Wed, 2 May 2012 18:38:14 +0000
(20:38 +0200)
zypp/sat/Map.cc
patch
|
blob
|
history
diff --git
a/zypp/sat/Map.cc
b/zypp/sat/Map.cc
index
f63b250
..
964e29a
100644
(file)
--- a/
zypp/sat/Map.cc
+++ b/
zypp/sat/Map.cc
@@
-69,7
+69,7
@@
namespace zypp
::memset( _pimpl->map, (val_r?-1:0), _pimpl->size );
}
::memset( _pimpl->map, (val_r?-1:0), _pimpl->size );
}
-#define M_RANGE_CKECK(IDX,LOC) if ( ((IDX) >> 3) >=
_pimpl->size
) throw std::out_of_range( "zypp::sat::Map::" LOC )
+#define M_RANGE_CKECK(IDX,LOC) if ( ((IDX) >> 3) >=
size_type(_pimpl->size)
) throw std::out_of_range( "zypp::sat::Map::" LOC )
void Map::set( size_type idx_r )
{
void Map::set( size_type idx_r )
{