diff options
author | David Shaw <[email protected]> | 2002-07-01 16:40:52 +0000 |
---|---|---|
committer | David Shaw <[email protected]> | 2002-07-01 16:40:52 +0000 |
commit | b672df87d69704bacb721a25a4728dccd5c357ab (patch) | |
tree | 9b5892d960b2dffd7134936e8ee8fd4f7f81e0e8 /g10/mkdtemp.c | |
parent | typo fix. (diff) | |
download | gnupg-b672df87d69704bacb721a25a4728dccd5c357ab.tar.gz gnupg-b672df87d69704bacb721a25a4728dccd5c357ab.zip |
* packet.h, build-packet.c (build_attribute_subpkt), exec.c (expand_args),
mkdtemp.c (mkdtemp), photoid.c (parse_image_header): Fix some signedness
compiler warnings.
Diffstat (limited to '')
-rw-r--r-- | g10/mkdtemp.c | 4 |
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; |