git.samba.org
/
obnox
/
wireshark
/
wip.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e0127f9
)
Another try to fix the cast problem.
author
stig
<stig@f5534014-38df-0310-8fa8-9805f1628bb7>
Wed, 13 Aug 2008 11:04:15 +0000
(11:04 +0000)
committer
stig
<stig@f5534014-38df-0310-8fa8-9805f1628bb7>
Wed, 13 Aug 2008 11:04:15 +0000
(11:04 +0000)
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@26001
f5534014
-38df-0310-8fa8-
9805f1628bb7
wsutil/file_util.c
patch
|
blob
|
history
diff --git
a/wsutil/file_util.c
b/wsutil/file_util.c
index acba2eaec4a4a6509c82f390d2efdfe0c5c60310..4e46131fa675bdc720fa0fd399dcc161ca69ad73 100644
(file)
--- a/
wsutil/file_util.c
+++ b/
wsutil/file_util.c
@@
-238,7
+238,7
@@
ws_stdio_stat (const gchar *filename,
while (len > 0 && G_IS_DIR_SEPARATOR (wfilename[len-1]))
len--;
if (len > 0 &&
- (!g_path_is_absolute (filename) || len > (size_t)
g_path_skip_root (filename) - filename
))
+ (!g_path_is_absolute (filename) || len > (size_t)
(g_path_skip_root (filename) - filename)
))
wfilename[len] = '\0';
retval = _wstat (wfilename, (struct _stat *) buf);