Merge pull request #58 from thekid/fix/incompatible-pointer-types

Fix "warning: initialization from incompatible pointer type"
This commit is contained in:
Alex Palaistras 2018-10-01 21:58:57 +01:00 committed by GitHub
commit 9d111e7342
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 4 additions and 0 deletions

View File

@ -63,7 +63,11 @@ static void engine_register_variables(zval *track_vars_array) {
php_import_environment_variables(track_vars_array);
}
#if PHP_VERSION_ID < 70100
static void engine_log_message(char *str) {
#else
static void engine_log_message(char *str, int syslog_type_int) {
#endif
engine_context *context = SG(server_context);
engineWriteLog(context, (void *) str, strlen(str));