[gnome-commander] Fix for g++ warning
- From: Piotr Eljasiak <epiotr src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-commander] Fix for g++ warning
- Date: Tue, 6 Dec 2011 22:41:42 +0000 (UTC)
commit 5c4cfb344559714075f9434b706be40f63716b5e
Author: Piotr Eljasiak <epiotr src gnome org>
Date: Tue Dec 6 23:41:03 2011 +0100
Fix for g++ warning
src/gnome-cmd-advrename-lexer.ll | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/src/gnome-cmd-advrename-lexer.ll b/src/gnome-cmd-advrename-lexer.ll
index 02a3795..cd6410c 100644
--- a/src/gnome-cmd-advrename-lexer.ll
+++ b/src/gnome-cmd-advrename-lexer.ll
@@ -466,7 +466,7 @@ char *gnome_cmd_advrename_gen_fname (GnomeCmdFile *f, size_t new_fname_size)
fmt.reserve(256);
char *fname = get_utf8 (f->info->name);
- char *ext = g_utf8_strrchr (fname, -1, '.');
+ const char *ext = g_utf8_strrchr (fname, -1, '.');
int full_name_len = g_utf8_strlen (fname, -1);
int name_len = full_name_len;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]