Warning cleanup.

This commit is contained in:
Sean Hunt
2015-05-25 00:08:34 +09:00
committed by nhmall
parent b8bea3af20
commit b6f32e7eff
4 changed files with 5 additions and 5 deletions

View File

@@ -4554,7 +4554,7 @@ const char *mapping;
free(ape);
return 0;
}
ape->pattern = alloc(strlen(text2) + 1);
ape->pattern = (char *)alloc(strlen(text2) + 1);
strcpy(ape->pattern, text2);
ape->grab = grab;
ape->next = *apehead;