diff options
author | David Shaw <[email protected]> | 2005-12-06 18:24:57 +0000 |
---|---|---|
committer | David Shaw <[email protected]> | 2005-12-06 18:24:57 +0000 |
commit | a635daa6b6de2bbc40d723337e842ee86e751086 (patch) | |
tree | 67ee7ec4613335bdd8e14370e5defc4222e4461c /util/dotlock.c | |
parent | * Makefile.am: Some cleanup so we don't build files that are completely (diff) | |
download | gnupg-a635daa6b6de2bbc40d723337e842ee86e751086.tar.gz gnupg-a635daa6b6de2bbc40d723337e842ee86e751086.zip |
* mkdtemp.c (mkdtemp): Fix warning.
* secmem.c, assuan-buffer.c, dotlock.c: Fix a few warnings from printf-ing
%p where the arg wasn't void *.
Diffstat (limited to 'util/dotlock.c')
-rw-r--r-- | util/dotlock.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/util/dotlock.c b/util/dotlock.c index b64458e92..9edac57ed 100644 --- a/util/dotlock.c +++ b/util/dotlock.c @@ -145,10 +145,10 @@ create_dotlock( const char *file_to_lock ) h->tname = xmalloc( dirpartlen + 6+30+ strlen(nodename) + 11 ); #ifndef __riscos__ sprintf( h->tname, "%.*s/.#lk%p.%s.%d", - dirpartlen, dirpart, h, nodename, (int)getpid() ); + dirpartlen, dirpart, (void *)h, nodename, (int)getpid() ); #else /* __riscos__ */ sprintf( h->tname, "%.*s.lk%p/%s/%d", - dirpartlen, dirpart, h, nodename, (int)getpid() ); + dirpartlen, dirpart, (void *)h, nodename, (int)getpid() ); #endif /* __riscos__ */ do { |