Sisyphus repository
Last update: 1 october 2023 | SRPMs: 18631 | Visits: 37737765
en ru br
ALT Linux repos
S:1.0-alt5
5.0: 1.0-alt4
4.1: 1.0-alt4
4.0: 1.0-alt4
3.0: 1.0-alt1

Group :: Text tools
RPM: catpkt

 Main   Changelog   Spec   Patches   Sources   Download   Gear   Bugs and FR  Repocop 

Patch: catpkt-1.0-alt-gcc4.patch
Download


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++;
 
design & coding: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
current maintainer: Michael Shigorin