Репозиторий Sisyphus
Последнее обновление: 1 октября 2023 | Пакетов: 18631 | Посещений: 37788326
en ru br
Репозитории ALT
S:1.0-alt5
5.1: 1.0-alt4
4.1: 1.0-alt4
4.0: 1.0-alt4
3.0: 1.0-alt1
www.altlinux.org/Changes

Группа :: Работа с текстами
Пакет: catpkt

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

Патч: catpkt-1.0-alt-gcc4.patch
Скачать


diff -u catpkt-1.0.orig/catpkt.c catpkt-1.0/catpkt.c
--- catpkt-1.0.orig/catpkt.c	2006-07-22 12:33:00 +0300
+++ catpkt-1.0/catpkt.c	2006-07-22 12:32:18 +0300
@@ -228,7 +228,7 @@
 
 	// find & read ToPoint information
 	j = 5;
-	if ( (int)mToPoint = strstr( Text, hdrTOPT ) )
+	if ( mToPoint = strstr( Text, hdrTOPT ) )
 		while( j < 9 && isdigit( mToPoint[j] ) ) {
 			mTOPT[j-4] = mToPoint[j];
 			j++;
@@ -241,7 +241,7 @@
   
 	// find & read FromPoint information
 	j = 5;
-	if ( (int)mFromPoint = strstr( Text, hdrFMPT ) )
+	if ( mFromPoint = strstr( Text, hdrFMPT ) )
 		while( j < 9 && isdigit( mFromPoint[j] ) ) {
 			mFMPT[j-4] = mFromPoint[j];
 			j++;
 
дизайн и разработка: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
текущий майнтейнер: Michael Shigorin