gnome-terminal r3258 - trunk/src
- From: chpe svn gnome org
- To: svn-commits-list gnome org
- Subject: gnome-terminal r3258 - trunk/src
- Date: Tue, 16 Dec 2008 12:45:19 +0000 (UTC)
Author: chpe
Date: Tue Dec 16 12:45:19 2008
New Revision: 3258
URL: http://svn.gnome.org/viewvc/gnome-terminal?rev=3258&view=rev
Log:
Fix signed/unsigned compiler warning.
Modified:
trunk/src/terminal-util.c
Modified: trunk/src/terminal-util.c
==============================================================================
--- trunk/src/terminal-util.c (original)
+++ trunk/src/terminal-util.c Tue Dec 16 12:45:19 2008
@@ -588,7 +588,7 @@
nullbyte = memchr (data, '\0', len);
- string_len = nullbyte ? nullbyte - data : len;
+ string_len = nullbyte ? (gsize) (nullbyte - data) : len;
g_ptr_array_add (argv, g_strndup (data, string_len));
len -= string_len + 1;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]