X-Git-Url: http://git.tdb.fi/?a=blobdiff_plain;f=source%2Fstate.cpp;h=6eaf33613591fc5a0786e55fea9f16fdc0e6367c;hb=6081ed9020ad22214a8e5b3829092f97b12d7c71;hp=4e0a1debafadbbd711f03de028252cf20f2ff3c7;hpb=50bf1ef2e2c3c38de20f6996a6c5ed0066111177;p=libs%2Fgltk.git diff --git a/source/state.cpp b/source/state.cpp index 4e0a1de..6eaf336 100644 --- a/source/state.cpp +++ b/source/state.cpp @@ -22,7 +22,7 @@ istream &operator>>(istream &is, State &state) while(1) { - unsigned underscore=str.find('_', start); + string::size_type underscore=str.find('_', start); if(!str.compare(start, underscore-start, "NORMAL")) state|=NORMAL; else if(!str.compare(start, underscore-start, "HOVER"))