diff options
author | Christian Grothoff <christian@grothoff.org> | 2013-07-24 11:04:43 +0000 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2013-07-24 11:04:43 +0000 |
commit | 8fbd1ddbe17f6141d72f661fde108dbc1089f17b (patch) | |
tree | dc10b755763144a533968e9f71407072d3b30a8d /src/util/os_installation.c | |
parent | a3bafed89534fb9fc1bcfcd10f512ff3cd150a63 (diff) | |
download | gnunet-8fbd1ddbe17f6141d72f661fde108dbc1089f17b.tar.gz gnunet-8fbd1ddbe17f6141d72f661fde108dbc1089f17b.zip |
-w32 bugfix -- compiler warning too
Diffstat (limited to 'src/util/os_installation.c')
-rw-r--r-- | src/util/os_installation.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/util/os_installation.c b/src/util/os_installation.c index 6e0754b21..753ed448e 100644 --- a/src/util/os_installation.c +++ b/src/util/os_installation.c | |||
@@ -744,7 +744,9 @@ GNUNET_OS_check_helper_binary (const char *binary, int check_suid, const char *p | |||
744 | PROCESS_INFORMATION proc; | 744 | PROCESS_INFORMATION proc; |
745 | DWORD exit_value; | 745 | DWORD exit_value; |
746 | 746 | ||
747 | GNUNET_snprintf (¶meters, 512, "-d %s", params); | 747 | GNUNET_snprintf (parameters, |
748 | sizeof (parameters), | ||
749 | "-d %s", params); | ||
748 | memset (&start, 0, sizeof (start)); | 750 | memset (&start, 0, sizeof (start)); |
749 | start.cb = sizeof (start); | 751 | start.cb = sizeof (start); |
750 | memset (&proc, 0, sizeof (proc)); | 752 | memset (&proc, 0, sizeof (proc)); |