hhatto / pgmagick

pgmagick is a yet another boost.python based wrapper for GraphicsMagick/ImageMagick.
MIT License
147 stars 33 forks source link

fix compile warning #38

Closed hhatto closed 6 years ago

hhatto commented 7 years ago

fix to this compile warning:

In file included from ./src/_Image.cpp:9:
In file included from ./src/_Pixels.h:5:
./src/_ArrayProxy.h:42:15: warning: comparison of unsigned expression < 0 is always false [-Wtautological-compare]
    if (index < 0)
        ~~~~~ ^ ~

size_t is unsigned.