diff util.c @ 2156:237068a25523

Added UI for setting firmware paths
author Michael Pavone <pavone@retrodev.com>
date Thu, 28 Apr 2022 18:41:16 -0700
parents 441d5d6cea2f
children bdd83b47d78a
line wrap: on
line diff
--- a/util.c	Wed Apr 06 21:44:46 2022 -0700
+++ b/util.c	Thu Apr 28 18:41:16 2022 -0700
@@ -353,7 +353,7 @@
 	return strdup(lastdot+1);
 }
 
-uint8_t path_matches_extensions(char *path, char **ext_list, uint32_t num_exts)
+uint8_t path_matches_extensions(char *path, const char **ext_list, uint32_t num_exts)
 {
 	char *ext = path_extension(path);
 	if (!ext) {