mirror of
git://git.gnupg.org/gnupg.git
synced 2025-07-02 22:46:30 +02:00
* 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.
This commit is contained in:
parent
f7bf66d89d
commit
b672df87d6
6 changed files with 17 additions and 10 deletions
|
@ -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;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue