]> git.lyx.org Git - lyx.git/blobdiff - src/graphics/GraphicsImageXPM.h
Properly resolve more warnings about comparison between signed and
[lyx.git] / src / graphics / GraphicsImageXPM.h
index c58560f4cb13f99b6e33d9eb97f7da17e9b57e36..a2cc32c80663c26af0cad754228bf59bf179d7ac 100644 (file)
@@ -113,20 +113,20 @@ private:
                 */
                XpmImage get() const;
 
-               int width()   const { return width_; }
-               int height()  const { return height_; }
-               int cpp()     const { return cpp_; }
-               int ncolors() const { return ncolors_; }
+               unsigned int width()   const { return width_; }
+               unsigned int height()  const { return height_; }
+               unsigned int cpp()     const { return cpp_; }
+               unsigned int ncolors() const { return ncolors_; }
                unsigned int const * data() const
                        { return data_.get(); }
                XpmColor const * colorTable() const
                        { return colorTable_.get(); }
 
        private:
-               int width_;
-               int height_;
-               int cpp_;
-               int ncolors_;
+               unsigned int width_;
+               unsigned int height_;
+               unsigned int cpp_;
+               unsigned int ncolors_;
                lyx::shared_c_ptr<unsigned int> data_;
                lyx::shared_c_ptr<XpmColor> colorTable_;