]> git.tdb.fi Git - libs/gltk.git/blobdiff - source/state.cpp
Fix compilation on 64-bit systems
[libs/gltk.git] / source / state.cpp
index 4e0a1debafadbbd711f03de028252cf20f2ff3c7..6eaf33613591fc5a0786e55fea9f16fdc0e6367c 100644 (file)
@@ -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"))