diff ffstools/caltools/fc-rftab2c.c @ 466:5bcf12be0834

ffstools/caltools: null pointer passing fixes
author Mychaela Falconia <falcon@freecalypso.org>
date Mon, 11 Feb 2019 05:50:45 +0000
parents f4a32c1025a2
children a684dd7799f8
line wrap: on
line diff
--- a/ffstools/caltools/fc-rftab2c.c	Mon Feb 11 00:00:19 2019 +0000
+++ b/ffstools/caltools/fc-rftab2c.c	Mon Feb 11 05:50:45 2019 +0000
@@ -208,7 +208,7 @@
 			argv[0]);
 		exit(1);
 	}
-	if (read_rf_table_ext(argv[1], binbuf, 1, &format, 0))
+	if (read_rf_table_ext(argv[1], binbuf, 1, &format, (unsigned *) 0))
 		exit(1);
 	for (map = map_table; map->format; map++)
 		if (!strcmp(map->format, format))