aboutsummaryrefslogtreecommitdiffstats
path: root/g10/mkdtemp.c
diff options
context:
space:
mode:
Diffstat (limited to 'g10/mkdtemp.c')
-rw-r--r--g10/mkdtemp.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/g10/mkdtemp.c b/g10/mkdtemp.c
index 0323486a3..3abdc1da6 100644
--- a/g10/mkdtemp.c
+++ b/g10/mkdtemp.c
@@ -38,7 +38,7 @@
char *mkdtemp(char *template)
{
- int attempts,idx,count=0;
+ unsigned int attempts,idx,count=0;
byte *ch;
idx=strlen(template);
@@ -61,7 +61,7 @@ char *mkdtemp(char *template)
/* Try 4 times to make the temp directory */
for(attempts=0;attempts<4;attempts++)
{
- int remaining=count;
+ unsigned int remaining=count;
char *marker=ch;
byte *randombits;