slackbuilds_ponce/games/oblige/compile_fixes.diff
B. Watson 8681eef4c2 games/oblige: Added (random level generator for various games)
Signed-off-by: Niels Horn <niels.horn@slackbuilds.org>
2010-12-27 19:22:52 -02:00

12 lines
452 B
Diff

diff -Naur oblige_357_src/gui/q_bsp.cc oblige_357_src.patched//gui/q_bsp.cc
--- oblige_357_src/gui/q_bsp.cc 2010-03-07 05:24:42.000000000 -0500
+++ oblige_357_src.patched//gui/q_bsp.cc 2010-12-17 18:24:48.000000000 -0500
@@ -107,7 +107,7 @@
// convert each newline into CR/LF pair
while (*str)
{
- char *next = strchr(str, '\n');
+ char *next = (char *)strchr(str, '\n');
Append(str, next ? (next - str) : strlen(str));