--- pingus-0.6.0/src/story_screen.cxx.orig 2003-04-16 01:12:29.000000000 +0200 +++ pingus-0.6.0/src/story_screen.cxx 2004-07-26 20:39:04.122878151 +0200 @@ -142,7 +142,7 @@ if (!page_displayed_completly) { - unsigned int len = static_cast(20.0f * time_passed); + size_t len = static_cast(20.0f * time_passed); display_text = current_page.text.substr(0, Math::min(current_page.text.length(), len)); if (current_page.text.length() < len)