Fix incompatible pointer type and self-assignment to appease llvm22

Index: randtype.c
--- randtype.c.orig
+++ randtype.c
@@ -331,7 +331,7 @@ static char *strrep(char *str, char *find, char *repl)
 int splitter(const char *filename, int kill)
 {
 #ifdef HAVE_ZLIB
-    gzFile *fp = NULL;
+    gzFile fp = NULL;
 #else
     FILE *fp = NULL;
 #endif
@@ -431,7 +431,7 @@ int splitter(const char *filename, int kill)
 		    else
 			i = strlen(tmp);
 		    
-		    for (i = i; i < strlen(p); i++)
+		    for (; i < strlen(p); i++)
 			fprintf(stdout, "%c", p[i]);
 
 		}
