diff options
author | blueswir1 <blueswir1@c046a42c-6fe2-441c-8c8c-71466251a162> | 2008-09-14 06:45:34 +0000 |
---|---|---|
committer | blueswir1 <blueswir1@c046a42c-6fe2-441c-8c8c-71466251a162> | 2008-09-14 06:45:34 +0000 |
commit | 7ccfb2eb5f9d91bdb4139cb420a3b5f8deb2f6e8 (patch) | |
tree | 29ccfd792bcd8109ef331d031b6f04d89b99b310 /target-cris | |
parent | 5d0c5750bb19212c8ecfb9660956611baf6aa861 (diff) | |
download | qemu-7ccfb2eb5f9d91bdb4139cb420a3b5f8deb2f6e8.zip qemu-7ccfb2eb5f9d91bdb4139cb420a3b5f8deb2f6e8.tar.gz qemu-7ccfb2eb5f9d91bdb4139cb420a3b5f8deb2f6e8.tar.bz2 |
Fix warnings that would be caused by gcc flag -Wwrite-strings
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@5206 c046a42c-6fe2-441c-8c8c-71466251a162
Diffstat (limited to 'target-cris')
-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 7666cba..4680dd7 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); |