freebsd-ports/games/kiki/files/patch-src-gui-KikiTextLine.cpp
Dmitry Marakasov d049af9045 - Fix build on 10.x
- Fix build with freeglut
- Fix segfaults on 64 bit
- Support staging
- Convert USE_GMAKE to USES
2013-12-24 01:46:04 +00:00

11 lines
344 B
C++

--- ./src/gui/KikiTextLine.cpp.orig 2005-10-02 18:07:54.000000000 +0400
+++ ./src/gui/KikiTextLine.cpp 2013-12-24 04:48:17.413608892 +0400
@@ -46,7 +46,7 @@
void KikiTextLine::setText ( const std::string & str )
{
text = str;
- unsigned int pos;
+ size_t pos;
if ((pos = text.find ("$scale(")) != std::string::npos)
{