diff options
| author | bulia byak <buliabyak@gmail.com> | 2006-02-06 02:06:27 +0000 |
|---|---|---|
| committer | buliabyak <buliabyak@users.sourceforge.net> | 2006-02-06 02:06:27 +0000 |
| commit | 4341faf121cb5d8f57e352e4bfd3707a1a39bb3d (patch) | |
| tree | e9519821b61f59db6ad46579e351cad79ca09976 /src | |
| parent | yet another fix along the same lines: disconnect listeners if they have been ... (diff) | |
| download | inkscape-4341faf121cb5d8f57e352e4bfd3707a1a39bb3d.tar.gz inkscape-4341faf121cb5d8f57e352e4bfd3707a1a39bb3d.zip | |
silence warnings
(bzr r86)
Diffstat (limited to 'src')
| -rwxr-xr-x | src/libnrtype/Layout-TNG-Output.cpp | 4 | ||||
| -rw-r--r-- | src/sp-string.cpp | 1 |
2 files changed, 2 insertions, 3 deletions
diff --git a/src/libnrtype/Layout-TNG-Output.cpp b/src/libnrtype/Layout-TNG-Output.cpp index b6249248b..bdcc6cf3f 100755 --- a/src/libnrtype/Layout-TNG-Output.cpp +++ b/src/libnrtype/Layout-TNG-Output.cpp @@ -87,11 +87,11 @@ void Layout::getBoundingBox(NRRect *bounding_box, NR::Matrix const &transform, i { for (unsigned glyph_index = 0 ; glyph_index < _glyphs.size() ; glyph_index++) { if (_characters[_glyphs[glyph_index].in_character].in_glyph == -1) continue; - if (start != -1 && _glyphs[glyph_index].in_character < start) continue; + if (start != -1 && (int) _glyphs[glyph_index].in_character < start) continue; if (length != -1) { if (start == -1) start = 0; - if (_glyphs[glyph_index].in_character > start + length) continue; + if ((int) _glyphs[glyph_index].in_character > start + length) continue; } // this could be faster NRMatrix glyph_matrix; diff --git a/src/sp-string.cpp b/src/sp-string.cpp index d3f592915..ddea5abc7 100644 --- a/src/sp-string.cpp +++ b/src/sp-string.cpp @@ -73,7 +73,6 @@ static void sp_string_class_init(SPStringClass *classname) { SPObjectClass *sp_object_class; - SPItemClass *item_class; sp_object_class = (SPObjectClass *) classname; |
