Make sure tinc compiles on Windows.

This commit is contained in:
Guus Sliepen 2012-07-21 12:51:53 +02:00
parent 1d4590ca5c
commit 5eeed38b8e
5 changed files with 28 additions and 18 deletions

View file

@ -39,7 +39,7 @@ bool send_meta_sptps(void *handle, const char *buffer, size_t length) {
abort();
}
logger(DEBUG_META, LOG_DEBUG, "send_meta_sptps(%s, %p, %zu)", c->name, buffer, length);
logger(DEBUG_META, LOG_DEBUG, "send_meta_sptps(%s, %p, %d)", c->name, buffer, (int)length);
buffer_add(&c->outbuf, buffer, length);
event_add(&c->outevent, NULL);