Commit 303a1fde authored by Ghislain MARY's avatar Ghislain MARY

Fix build.

parent 2b67687e
......@@ -70,7 +70,7 @@ if(NOT ANTLR3_COMMAND)
)
if(ANTLR3_JAR_PATH)
set(ANTLR3_COMMAND ${Java_JAVA_EXECUTABLE} -Xmx256m -jar ${ANTLR3_JAR_PATH})
set(ANTLR3_COMMAND ${Java_JAVA_EXECUTABLE} -Xmx384m -jar ${ANTLR3_JAR_PATH})
endif()
endif()
......
......@@ -38,14 +38,14 @@ static void perf(void) {
t1 = bctbx_get_cur_time_ms() - start;
start=bctbx_get_cur_time_ms();
belle_sip_message("t1 = %llu",t1);
belle_sip_message("t1 = %" PRIu64 "",t1);
for (i=0;i<1000;i++) {
belle_sip_uri_t * uri = belle_sip_fast_uri_parse("sip:+331231231231@sip.exmaple.org;user=phone");
belle_sip_object_unref(uri);
}
t2 = bctbx_get_cur_time_ms() - start;
belle_sip_message("t1 = %llu",t2);
belle_sip_message("t1 = %" PRIu64 "",t2);
BC_ASSERT_GREATER(((float)(t1-t2))/(float)(t1), 0.5, float, "%f");
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment