summaryrefslogtreecommitdiff
path: root/games/kiki/files/patch-kodilib-src-widgets-KFileNameField.cpp
blob: c04b80ca10f8e6e03fa45a762e20b001d5711769 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
--- kodilib/src/widgets/KFileNameField.cpp.orig	2003-04-14 01:53:22.000000000 +0400
+++ kodilib/src/widgets/KFileNameField.cpp	2013-12-24 04:54:19.830560677 +0400
@@ -41,7 +41,7 @@
         std::string restPath; 				 // path behind cursor
         
         // map cropped path to current directory and rest path to file prefix
-        unsigned int lastSlashPos = croppedPath.rfind("/");
+        size_t lastSlashPos = croppedPath.rfind("/");
         if (lastSlashPos < croppedPath.size()-1)
         {
             restPath = croppedPath.substr(lastSlashPos+1);