diff options
Diffstat (limited to 'target-cris/translate.c')
-rw-r--r-- | target-cris/translate.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/target-cris/translate.c b/target-cris/translate.c index 7666cba411..4680dd7074 100644 --- a/target-cris/translate.c +++ b/target-cris/translate.c @@ -123,7 +123,7 @@ typedef struct DisasContext { int singlestep_enabled; } DisasContext; -static void gen_BUG(DisasContext *dc, char *file, int line) +static void gen_BUG(DisasContext *dc, const char *file, int line) { printf ("BUG: pc=%x %s %d\n", dc->pc, file, line); fprintf (logfile, "BUG: pc=%x %s %d\n", dc->pc, file, line); |