0
0
mirror of https://github.com/phpv8/v8js.git synced 2025-01-18 13:51:52 +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:
Patrick Reilly 2013-05-16 16:59:41 -07:00
parent 4a82311b4d
commit 98638c78db
2 changed files with 2 additions and 2 deletions

View File

@ -20,7 +20,7 @@
/* $Id$ */
#define V8JS_DEBUG 0
#define PHP_V8_VERSION "0.1.4"
//#define PHP_V8_VERSION "0.1.4"
#ifdef HAVE_CONFIG_H
#include "config.h"
#endif

View File

@ -75,7 +75,7 @@ static void _php_v8js_dumper(v8::Local<v8::Value> var, int level TSRMLS_DC) /* {
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())
{