mirror of
git://git.gnupg.org/gnupg.git
synced 2025-07-02 22:46:30 +02:00
Use more warning options with modern GCCs.
Other minor changes.
This commit is contained in:
parent
dd96bd44d4
commit
0698c5169f
14 changed files with 82 additions and 11 deletions
|
@ -381,10 +381,8 @@ start_scd (ctrl_t ctrl)
|
|||
char buf[100];
|
||||
|
||||
#ifdef HAVE_W32_SYSTEM
|
||||
/* Use estream snprintf due to a bug in mingw32 related to the l
|
||||
modifier. */
|
||||
estream_snprintf (buf, sizeof buf, "OPTION event-signal=%lx",
|
||||
(unsigned long)get_agent_scd_notify_event ());
|
||||
snprintf (buf, sizeof buf, "OPTION event-signal=%lx",
|
||||
(unsigned long)get_agent_scd_notify_event ());
|
||||
#else
|
||||
snprintf (buf, sizeof buf, "OPTION event-signal=%d", SIGUSR2);
|
||||
#endif
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue