]> git.pld-linux.org Git - packages/pingus.git/commitdiff
- fix for size_t != unsigned int
authorJakub Bogusz <qboosh@pld-linux.org>
Mon, 26 Jul 2004 19:03:57 +0000 (19:03 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    pingus-types.patch -> 1.1

pingus-types.patch [new file with mode: 0644]

diff --git a/pingus-types.patch b/pingus-types.patch
new file mode 100644 (file)
index 0000000..fad0d22
--- /dev/null
@@ -0,0 +1,11 @@
+--- 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<unsigned int>(20.0f * time_passed);
++      size_t len = static_cast<unsigned int>(20.0f * time_passed);
+       display_text = current_page.text.substr(0, Math::min(current_page.text.length(), len));
+       if (current_page.text.length() < len)
This page took 0.093486 seconds and 4 git commands to generate.