Index: test/cctest/test-compiler.cc |
diff --git a/test/cctest/test-compiler.cc b/test/cctest/test-compiler.cc |
index 8f226f6cde8b40f6ca24ebd5e44928d2d8c6c2d4..2d9b01204a8cebcbb26787da973fa77cd377cb00 100644 |
--- a/test/cctest/test-compiler.cc |
+++ b/test/cctest/test-compiler.cc |
@@ -26,7 +26,7 @@ |
// OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
#include <stdlib.h> |
-#include <wchar.h> // wint_t |
+#include <wchar.h> |
#include "v8.h" |
@@ -75,7 +75,7 @@ v8::Handle<v8::Value> PrintExtension::Print(const v8::Arguments& args) { |
uint16_t* string = NewArray<uint16_t>(length + 1); |
string_obj->Write(string); |
for (int j = 0; j < length; j++) |
- printf("%lc", static_cast<wint_t>(string[j])); |
+ printf("%lc", static_cast<wchar_t>(string[j])); |
DeleteArray(string); |
} |
printf("\n"); |