aboutsummaryrefslogtreecommitdiffstats
path: root/tempfile.c
diff options
context:
space:
mode:
authorgerald <gerald@f5534014-38df-0310-8fa8-9805f1628bb7>2009-04-16 04:05:39 +0000
committergerald <gerald@f5534014-38df-0310-8fa8-9805f1628bb7>2009-04-16 04:05:39 +0000
commitebaddf5c97a9bb176d032d80d318588c7e13caf1 (patch)
tree1f4158ed7e68052c732725d2535039b9523e38de /tempfile.c
parent21315531bcf393adebaf5a9316523c8d644a70e1 (diff)
Fix the last(?) of the Win64 compilation problems.
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@28065 f5534014-38df-0310-8fa8-9805f1628bb7
Diffstat (limited to 'tempfile.c')
-rw-r--r--tempfile.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tempfile.c b/tempfile.c
index 0ad2fcff01..84e66f321c 100644
--- a/tempfile.c
+++ b/tempfile.c
@@ -65,7 +65,7 @@ static int
try_tempfile(char *namebuf, int namebuflen, const char *dir, const char *pfx)
{
static const char suffix[] = "XXXXXXXXXX";
- int namelen = strlen(dir) + strlen(pfx) + sizeof suffix;
+ int namelen = (int) (strlen(dir) + strlen(pfx) + sizeof(suffix));
int old_umask;
int tmp_fd;