Index: components/nacl/loader/nacl_listener.cc |
diff --git a/components/nacl/loader/nacl_listener.cc b/components/nacl/loader/nacl_listener.cc |
index ed7f05d72a20a48c08770bb7a7097e23d36b0482..80e04c6d73fcb3dcf4633bda763aa15fd01ea8f0 100644 |
--- a/components/nacl/loader/nacl_listener.cc |
+++ b/components/nacl/loader/nacl_listener.cc |
@@ -208,7 +208,7 @@ class BrowserValidationDBProxy : public NaClValidationDB { |
IPC::PlatformFileForTransitToPlatformFile(ipc_fd); |
#if defined(OS_WIN) |
// On Windows, valid handles are 32 bit unsigned integers so this is safe. |
- *fd = reinterpret_cast<uintptr_t>(handle); |
+ *fd = reinterpret_cast<int32>(handle); |
#else |
*fd = handle; |
#endif |