Message ID | 20240101232219.3003-4-vapier@gentoo.org |
---|---|
State | New |
Headers | |
Series | [PATCH/committed,1/8] sim: ppc: hoist igen compilation into top-level | |
Checks
Context | Check | Description |
---|---|---|
linaro-tcwg-bot/tcwg_gdb_build--master-aarch64 | fail | Patch failed to apply |
linaro-tcwg-bot/tcwg_gdb_build--master-arm | fail | Patch failed to apply |
Commit Message
diff --git a/sim/igen/misc.c b/sim/igen/misc.c index a083f6d1bbd2..fface6f66d5a 100644 --- a/sim/igen/misc.c +++ b/sim/igen/misc.c @@ -215,8 +215,8 @@ name2i (const char *names, const name_map * map) while (*name != '\0') { /* find our name */ - char *end = strchr (name, ','); - char *next; + const char *end = strchr (name, ','); + const char *next; unsigned len; if (end == NULL) {