diff --git a/v8js.cc b/v8js.cc index efb55e4..551fc3b 100644 --- a/v8js.cc +++ b/v8js.cc @@ -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 diff --git a/v8js_methods.cc b/v8js_methods.cc index a730566..5fcd005 100644 --- a/v8js_methods.cc +++ b/v8js_methods.cc @@ -75,7 +75,7 @@ static void _php_v8js_dumper(v8::Local 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()) {