aboutsummaryrefslogtreecommitdiffstats
path: root/wsutil
diff options
context:
space:
mode:
authorGuy Harris <guy@alum.mit.edu>2008-08-12 22:11:15 +0000
committerGuy Harris <guy@alum.mit.edu>2008-08-12 22:11:15 +0000
commit7ec695d943d28417bf94e9516bb7607d575e016e (patch)
treef3a545b60b915f19c55621a7782a0afde56c4032 /wsutil
parente7a8150c7b3a428f498ecffe716e494a76def0e2 (diff)
Take courage!
http://www.flickr.com/photos/clammm/503029097/ svn path=/trunk/; revision=25993
Diffstat (limited to 'wsutil')
-rw-r--r--wsutil/file_util.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/wsutil/file_util.c b/wsutil/file_util.c
index 59a5b50dde..431fb40967 100644
--- a/wsutil/file_util.c
+++ b/wsutil/file_util.c
@@ -226,7 +226,7 @@ ws_stdio_stat (const gchar *filename,
wchar_t *wfilename = g_utf8_to_utf16 (filename, -1, NULL, NULL, NULL);
int retval;
int save_errno;
- int len;
+ size_t len;
if (wfilename == NULL)
{
@@ -234,7 +234,7 @@ ws_stdio_stat (const gchar *filename,
return -1;
}
- len = (int) wcslen (wfilename);
+ len = wcslen (wfilename);
while (len > 0 && G_IS_DIR_SEPARATOR (wfilename[len-1]))
len--;
if (len > 0 &&