1
0
mirror of git://git.gnupg.org/gnupg.git synced 2024-06-29 02:22:45 +02:00

Minor portability tweak for RISC OS

This commit is contained in:
David Shaw 2001-12-15 06:32:24 +00:00
parent ed32beee67
commit 308efc3e5f
2 changed files with 8 additions and 3 deletions

View File

@ -1,3 +1,8 @@
2001-12-14 David Shaw <dshaw@jabberwocky.com>
* gpgkeys_ldap.c (search_key): Use unsigned int rather than uint
for portability.
2001-12-04 David Shaw <dshaw@jabberwocky.com>
* Initial version of gpgkeys_ldap (LDAP keyserver helper) and

View File

@ -427,7 +427,7 @@ int search_key(LDAP *ldap,char *searchkey)
vals=ldap_get_values(ldap,each,"pgpkeycreatetime");
if(vals!=NULL && strlen(vals[0])==15)
{
fprintf(output,"%u:",(uint)ldap2epochtime(vals[0]));
fprintf(output,"%u:",(unsigned int)ldap2epochtime(vals[0]));
ldap_value_free(vals);
}
else
@ -436,7 +436,7 @@ int search_key(LDAP *ldap,char *searchkey)
vals=ldap_get_values(ldap,each,"pgpkeyexpiretime");
if(vals!=NULL && strlen(vals[0])==15)
{
fprintf(output,"%u:",(uint)ldap2epochtime(vals[0]));
fprintf(output,"%u:",(unsigned int)ldap2epochtime(vals[0]));
ldap_value_free(vals);
}
else
@ -445,7 +445,7 @@ int search_key(LDAP *ldap,char *searchkey)
vals=ldap_get_values(ldap,each,"modifytimestamp");
if(vals!=NULL && strlen(vals[0])==15)
{
fprintf(output,"%u:",(uint)ldap2epochtime(vals[0]));
fprintf(output,"%u:",(unsigned int)ldap2epochtime(vals[0]));
ldap_value_free(vals);
}
else