1
0
Fork 0
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:
Werner Koch 2008-10-17 19:18:46 +00:00
parent dd96bd44d4
commit 0698c5169f
14 changed files with 82 additions and 11 deletions

View file

@ -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