diff options
author | Gerald Combs <gerald@wireshark.org> | 2009-04-16 04:05:39 +0000 |
---|---|---|
committer | Gerald Combs <gerald@wireshark.org> | 2009-04-16 04:05:39 +0000 |
commit | e648060f0f307b2df23902338fa5d22c4d490465 (patch) | |
tree | 1f4158ed7e68052c732725d2535039b9523e38de /tempfile.c | |
parent | 17f0d877faff64832b2a93f24d21b873fe59919e (diff) | |
download | wireshark-e648060f0f307b2df23902338fa5d22c4d490465.tar.gz wireshark-e648060f0f307b2df23902338fa5d22c4d490465.tar.bz2 wireshark-e648060f0f307b2df23902338fa5d22c4d490465.zip |
Fix the last(?) of the Win64 compilation problems.
svn path=/trunk/; revision=28065
Diffstat (limited to 'tempfile.c')
-rw-r--r-- | tempfile.c | 2 |
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; |