Fixed miscellaneous compile warnings/errors when built with C++ mode

git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@1929 74dad513-b988-da41-8d7b-12977e46ad98
diff --git a/pjnath/src/pjturn-srv/main.c b/pjnath/src/pjturn-srv/main.c
index 26c1171..77e13d9 100644
--- a/pjnath/src/pjturn-srv/main.c
+++ b/pjnath/src/pjturn-srv/main.c
@@ -20,8 +20,9 @@
 #include "auth.h"
 
 #define REALM		"pjsip.org"
-#define TURN_PORT	PJ_STUN_TURN_PORT
-//#define TURN_PORT	34780
+//#define TURN_PORT	PJ_STUN_TURN_PORT
+#define TURN_PORT	34780
+#define LOG_LEVEL	4
 
 
 static pj_caching_pool g_cp;
@@ -156,6 +157,8 @@
 
     puts("Server is running");
 
+    pj_log_set_level(LOG_LEVEL);
+
     console_main(srv);
 
     pj_turn_srv_destroy(srv);