Commit 26b69166 authored by Sven Neumann's avatar Sven Neumann Committed by Sven Neumann
Browse files

added casts to silent signedness warnings.

2005-07-29  Sven Neumann  <sven@gimp.org>

	* libgimpconfig/gimpconfig-utils.c (gimp_config_string_append_escaped):
	added casts to silent signedness warnings.
parent 74345379
2005-07-29 Sven Neumann <sven@gimp.org>
* libgimpconfig/gimpconfig-utils.c (gimp_config_string_append_escaped):
added casts to silent signedness warnings.
2005-07-29 Sven Neumann <sven@gimp.org> 2005-07-29 Sven Neumann <sven@gimp.org>
* app/tools/gimpselectionoptions.c (gimp_selection_options_gui): no * app/tools/gimpselectionoptions.c (gimp_selection_options_gui): no
......
...@@ -402,7 +402,7 @@ gimp_config_string_append_escaped (GString *string, ...@@ -402,7 +402,7 @@ gimp_config_string_append_escaped (GString *string,
g_string_append_c (string, '\"'); g_string_append_c (string, '\"');
for (p = val, len = 0; *p; p++) for (p = (const guchar *) val, len = 0; *p; p++)
{ {
if (*p < ' ' || *p == '\\' || *p == '\"') if (*p < ' ' || *p == '\\' || *p == '\"')
{ {
...@@ -441,7 +441,7 @@ gimp_config_string_append_escaped (GString *string, ...@@ -441,7 +441,7 @@ gimp_config_string_append_escaped (GString *string,
g_string_append_len (string, buf, len); g_string_append_len (string, buf, len);
val = p + 1; val = (const gchar *) p + 1;
len = 0; len = 0;
} }
else else
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment