Group :: Text tools
RPM: catpkt
Main Changelog Spec Patches Sources Download Gear Bugs and FR Repocop
Patch: catpkt-1.0-alt-gcc4.patch
Download
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++;