summaryrefslogtreecommitdiff
path: root/main/SAPI.h
diff options
context:
space:
mode:
authorRasmus Lerdorf <rasmus@php.net>2011-05-16 15:52:31 +0000
committerRasmus Lerdorf <rasmus@php.net>2011-05-16 15:52:31 +0000
commit27dd44db9577f09864cb231b0e1e58efe9a14230 (patch)
tree07137dca0ef0dcff9be24922d9ff606bd63403df /main/SAPI.h
parenta90b7da4358e9fdd873035fb58f4418ddbdd9e65 (diff)
downloadphp-git-27dd44db9577f09864cb231b0e1e58efe9a14230.tar.gz
Fix a couple of warnings. Use %zu to printf a time_t and get_request_time
actually returns a double, not a time_t.
Diffstat (limited to 'main/SAPI.h')
-rw-r--r--main/SAPI.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/main/SAPI.h b/main/SAPI.h
index 3966b2d5aa..aca4179430 100644
--- a/main/SAPI.h
+++ b/main/SAPI.h
@@ -241,7 +241,7 @@ struct _sapi_module_struct {
void (*register_server_variables)(zval *track_vars_array TSRMLS_DC);
void (*log_message)(char *message TSRMLS_DC);
- time_t (*get_request_time)(TSRMLS_D);
+ double (*get_request_time)(TSRMLS_D);
void (*terminate_process)(TSRMLS_D);
char *php_ini_path_override;