8173197: (se) WindowsSelectorImpl.c does not compile with VS2010
Reviewed-by: alanb, chegar
--- a/jdk/src/java.base/windows/native/libnio/ch/WindowsSelectorImpl.c Mon Jan 23 07:36:05 2017 -0500
+++ b/jdk/src/java.base/windows/native/libnio/ch/WindowsSelectorImpl.c Mon Jan 23 14:04:44 2017 +0100
@@ -75,8 +75,8 @@
} else if (timeout < 0) {
tv = NULL;
} else {
+ jlong sec = timeout / 1000;
tv = &timevalue;
- jlong sec = timeout / 1000;
//
// struct timeval members are signed 32-bit integers so the
// signed 64-bit jlong needs to be clamped