Репозиторий Sisyphus
Последнее обновление: 1 октября 2023 | Пакетов: 18631 | Посещений: 37735122
en ru br
Репозитории ALT
S:1.1.0.76-alt1
5.1: 1.0.0-alt2
www.altlinux.org/Changes

Группа :: Игры/Головоломки
Пакет: hex-a-hop

 Главная   Изменения   Спек   Патчи   Sources   Загрузить   Gear   Bugs and FR  Repocop 

Патч: hex-a-hop.gcc44.patch
Скачать


diff -ur hex-a-hop/menus.h hex-a-hop.new/menus.h
--- hex-a-hop/menus.h	2009-05-26 18:09:37 +0000
+++ hex-a-hop.new/menus.h	2009-05-26 18:08:43 +0000
@@ -192,7 +192,7 @@
 	{
 		state = 0; time = 0;
 		memset(title, 0, sizeof(title));
-		char * x = strstr(m, "|");
+		const char * x = strstr(m, "|");
 		if (!x)
 		{
 			msg = m;
diff -ur hex-a-hop/savestate.h hex-a-hop.new/savestate.h
--- hex-a-hop/savestate.h	2009-05-26 18:09:37 +0000
+++ hex-a-hop.new/savestate.h	2009-05-26 18:08:30 +0000
@@ -278,7 +278,7 @@
 
 	LevelSave* GetLevel(const char * name, bool create)
 	{
-		char * l = strstr(name, "Levels");
+		const char * l = strstr(name, "Levels");
 		if (l)
 			name = l;
 
 
дизайн и разработка: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
текущий майнтейнер: Michael Shigorin