mirror of
git://git.gnupg.org/gnupg.git
synced 2025-07-02 22:46:30 +02:00
Silence compiler warnings related to not using assuan_fd_t.
* common/call-gpg.c (start_gpg): Use assuan_fd_t. Note that the declaration was already fixed by a previous change. * dirmngr/server.c (cmd_getinfo): Use assuan_fd_t. -- Note that this matters only for Windows and it does not harm as long as we can only build for 32 bit Windows withsizeof(int)==sizeof(void*). Signed-off-by: Werner Koch <wk@gnupg.org>
This commit is contained in:
parent
022342e284
commit
501436ab0f
2 changed files with 4 additions and 4 deletions
|
@ -2126,8 +2126,8 @@ cmd_getinfo (assuan_context_t ctx, char *line)
|
|||
#if ASSUAN_VERSION_NUMBER >= 0x020402
|
||||
/* Check whether we can connect to the proxy. We use a
|
||||
special feature introduced with libassuan 2.4.2. */
|
||||
int sock = assuan_sock_connect_byname (NULL, 0, 0, NULL,
|
||||
ASSUAN_SOCK_TOR);
|
||||
assuan_fd_t sock = assuan_sock_connect_byname (NULL, 0, 0, NULL,
|
||||
ASSUAN_SOCK_TOR);
|
||||
if (sock == ASSUAN_INVALID_FD)
|
||||
{
|
||||
err = assuan_write_status
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue