mirror of
https://github.com/phpv8/v8js.git
synced 2025-01-18 12:51:51 +00:00
fix for format '%d' expects argument of type 'int', but argument 2 has type 'size_t {aka long unsigned int}' [-Wformat]
This commit is contained in:
parent
4a82311b4d
commit
98638c78db
2
v8js.cc
2
v8js.cc
@ -20,7 +20,7 @@
|
|||||||
/* $Id$ */
|
/* $Id$ */
|
||||||
|
|
||||||
#define V8JS_DEBUG 0
|
#define V8JS_DEBUG 0
|
||||||
#define PHP_V8_VERSION "0.1.4"
|
//#define PHP_V8_VERSION "0.1.4"
|
||||||
#ifdef HAVE_CONFIG_H
|
#ifdef HAVE_CONFIG_H
|
||||||
#include "config.h"
|
#include "config.h"
|
||||||
#endif
|
#endif
|
||||||
|
@ -75,7 +75,7 @@ static void _php_v8js_dumper(v8::Local<v8::Value> var, int level TSRMLS_DC) /* {
|
|||||||
|
|
||||||
if (var->IsString())
|
if (var->IsString())
|
||||||
{
|
{
|
||||||
php_printf("string(%d) \"%s\"\n", valstr_len, valstr);
|
php_printf("string(%zu) \"%s\"\n", valstr_len, valstr);
|
||||||
}
|
}
|
||||||
else if (var->IsBoolean())
|
else if (var->IsBoolean())
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user