Attempt to fix on HEAD.

This commit is contained in:
Barbara Guida 2018-03-17 09:06:32 +00:00
parent b9439359ae
commit 535c1b0de7
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=464770
2 changed files with 22 additions and 0 deletions

View File

@ -0,0 +1,11 @@
--- src/webserver/src/php_amule_lib.cpp.orig 2016-09-16 09:55:07.000000000 +0200
+++ src/webserver/src/php_amule_lib.cpp 2018-03-17 09:50:11.347042000 +0100
@@ -564,7 +564,7 @@
case 1: search_type = EC_SEARCH_GLOBAL; break;
case 2: search_type = EC_SEARCH_KAD; break;
default:
- php_report_error(PHP_ERROR, "Invalid search type %"PRIu64, si->var->value.int_val);
+ php_report_error(PHP_ERROR, "Invalid search type %" PRIu64, si->var->value.int_val);
return;
}

View File

@ -0,0 +1,11 @@
--- src/webserver/src/php_core_lib.cpp.orig 2016-09-16 09:55:07.000000000 +0200
+++ src/webserver/src/php_core_lib.cpp 2018-03-17 09:46:29.766922000 +0100
@@ -71,7 +71,7 @@
if ( ref ) printf("&");
switch(node->type) {
case PHP_VAL_BOOL: printf("bool(%s)\n", node->int_val ? "true" : "false"); break;
- case PHP_VAL_INT: printf("int(%"PRIu64")\n", node->int_val); break;
+ case PHP_VAL_INT: printf("int(%" PRIu64 ")\n", node->int_val); break;
case PHP_VAL_FLOAT: printf("float(%f)\n", node->float_val); break;
case PHP_VAL_STRING: printf("string(%d) \"%s\"\n", (int)strlen(node->str_val), node->str_val); break;
case PHP_VAL_OBJECT: printf("Object(%s)\n", node->obj_val.class_name); break;