[gnome-commander/ConvertWarningsToErrors] src/gnome-cmd-smb-path.cc: Fix write-strings warning
- From: Uwe Scholz <uwescholz src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-commander/ConvertWarningsToErrors] src/gnome-cmd-smb-path.cc: Fix write-strings warning
- Date: Fri, 28 Apr 2017 17:20:16 +0000 (UTC)
commit 43fa46de2dec5d8c9118aa131cf343a3a4ce9d0c
Author: Uwe Scholz <uwescholz src gnome org>
Date: Fri Apr 28 19:20:02 2017 +0200
src/gnome-cmd-smb-path.cc: Fix write-strings warning
src/gnome-cmd-smb-path.cc | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/src/gnome-cmd-smb-path.cc b/src/gnome-cmd-smb-path.cc
index fa229d3..1a6674c 100644
--- a/src/gnome-cmd-smb-path.cc
+++ b/src/gnome-cmd-smb-path.cc
@@ -207,7 +207,7 @@ GnomeCmdSmbPath::GnomeCmdSmbPath(const gchar *path_str): workgroup(0), resource(
else
{
if (!b)
- b = "/";
+ b = (char*) "/";
b = c ? g_strconcat (G_DIR_SEPARATOR_S, b, c, NULL) : g_strdup (b);
g_free (c);
set_resources(ent->workgroup_name, a, b);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]