diff options
author | Darin Adler <darin@src.gnome.org> | 2001-07-11 21:31:55 +0000 |
---|---|---|
committer | Darin Adler <darin@src.gnome.org> | 2001-07-11 21:31:55 +0000 |
commit | 800e4fc1598b07afce4fbbbab5875c3bc5e10835 (patch) | |
tree | 674add810388ddb995cf35442d877aa217b90de5 /test | |
parent | a2146ea84487773534b27cdd73ae7fe0723a486f (diff) | |
download | nautilus-800e4fc1598b07afce4fbbbab5875c3bc5e10835.tar.gz |
Fix code that was using <ctype.h> functions and passing char's rather than
* components/help/converters/gnome-info2html2/html.c:
(write_menu_entry_html):
* components/help/converters/gnome-man2html2/gnome-man2html.c:
(add_links), (scan_escape), (scan_format), (scan_table),
(scan_expression), (scan_request), (scan_troff),
(scan_troff_mandoc), (main):
* src/nautilus-first-time-druid.c: (load_netscape_proxy_settings):
* src/nautilus-property-browser.c: (emblem_keyword_valid):
Fix code that was using <ctype.h> functions and passing char's
rather than int's (using the standard "cast to unsigned char"
trick).
* libnautilus-private/nautilus-file.c:
(nautilus_file_denies_access_permission),
(nautilus_file_can_set_permissions), (nautilus_file_set_owner),
(nautilus_file_get_group_name), (nautilus_file_can_set_group),
(nautilus_file_get_settable_group_names),
(nautilus_file_set_group):
Get rid of the assumption that GnomeVFSFileInfo field types match
the platform-specific uid_t and gid_t. This involves doing a few
more type casts.
(nautilus_extract_top_left_text): Fix a use of isprint on a char
rather than an int.
* libnautilus-private/nautilus-volume-monitor.c: Added ifdefs so
this file can compile for Solaris without warnings.
* test/test.c: (test_window_set_title_with_pid): Don't assume that
getpid() returns an int. Instead cast it to unsigned long for
printing.
Diffstat (limited to 'test')
-rw-r--r-- | test/test.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/test.c b/test/test.c index af3a0f16c..bca28f8dc 100644 --- a/test/test.c +++ b/test/test.c @@ -311,7 +311,7 @@ test_window_set_title_with_pid (GtkWindow *window, g_return_if_fail (GTK_IS_WINDOW (window)); - tmp = g_strdup_printf ("%d: %s", getpid (), title); + tmp = g_strdup_printf ("%lu: %s", (gulong) getpid (), title); gtk_window_set_title (GTK_WINDOW (window), tmp); g_free (tmp); } |