eliminated some FreeBSD build warnings

This commit is contained in:
Thomas Ries 2016-09-04 08:16:01 +00:00
parent d804d3debe
commit 0650def87d
8 changed files with 8 additions and 1 deletions

View File

@ -23,6 +23,7 @@
#include "config.h"
#include <stdlib.h>
#include <string.h>
#include <sys/types.h>

View File

@ -23,6 +23,7 @@
#include "config.h"
#include <stdlib.h>
#include <string.h>
#include <sys/types.h>

View File

@ -23,6 +23,7 @@
#include "config.h"
#include <stdlib.h>
#include <string.h>
#include <sys/types.h>

View File

@ -23,6 +23,7 @@
#include "config.h"
#include <stdlib.h>
#include <string.h>
#include <regex.h>

View File

@ -23,6 +23,7 @@
#include "config.h"
#include <stdlib.h>
#include <string.h>
#include <sys/types.h>

View File

@ -23,6 +23,7 @@
#include "config.h"
#include <stdlib.h>
#include <string.h>
#include <sys/types.h>

View File

@ -22,6 +22,7 @@
#include <string.h>
#include <stdio.h>
#include <unistd.h>
#include <stdlib.h>
#include <sys/types.h>
#include <netinet/in.h>

View File

@ -118,7 +118,7 @@ int rtp_relay_init( void ) {
pthread_attr_init(&attr);
pthread_attr_init(&attr);
pthread_attr_getstacksize (&attr, &stacksize);
INFO("Current thread stacksize is %i kB",stacksize/1024);
INFO("Current thread stacksize is %lu kB",(stacksize/1024));
/* experimental feature:
* reduce the thread stack size to reduce the overall