X-Git-Url: http://git.tdb.fi/?a=blobdiff_plain;f=source%2Fstate.cpp;h=6eaf33613591fc5a0786e55fea9f16fdc0e6367c;hb=525351c67a74fc3434fd1fb993bb9fa78b681f1f;hp=4e0a1debafadbbd711f03de028252cf20f2ff3c7;hpb=900becb7550d179d169e7d049b3aef5e0c9b7758;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"))