projects
/
oweals
/
tinc.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Fix all warnings when compiling with mingw64.
[oweals/tinc.git]
/
src
/
logger.c
diff --git
a/src/logger.c
b/src/logger.c
index a1cc2073c0015760fe6879648ca16f85b2a92a26..bc20438cc83cc3f07c13ad9115b5fc1699e8a9bb 100644
(file)
--- a/
src/logger.c
+++ b/
src/logger.c
@@
-85,7
+85,7
@@
void logger(int priority, const char *format, ...) {
#ifdef HAVE_MINGW
{
char message[4096];
- char *messages[] = {message};
+ c
onst c
har *messages[] = {message};
vsnprintf(message, sizeof(message), format, ap);
ReportEvent(loghandle, priority, 0, 0, NULL, 1, 0, messages, NULL);
}