aboutsummaryrefslogtreecommitdiffstats
path: root/tempfile.c
diff options
context:
space:
mode:
authorGerald Combs <gerald@wireshark.org>2009-04-16 04:05:39 +0000
committerGerald Combs <gerald@wireshark.org>2009-04-16 04:05:39 +0000
commite648060f0f307b2df23902338fa5d22c4d490465 (patch)
tree1f4158ed7e68052c732725d2535039b9523e38de /tempfile.c
parent17f0d877faff64832b2a93f24d21b873fe59919e (diff)
Fix the last(?) of the Win64 compilation problems.
svn path=/trunk/; revision=28065
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;