undo time_t type casting
diff --git a/src/core/support/alloc.c b/src/core/support/alloc.c
index acd2432..d2ed82e 100644
--- a/src/core/support/alloc.c
+++ b/src/core/support/alloc.c
@@ -55,12 +55,7 @@
 }
 
 void *gpr_malloc_aligned(size_t size, size_t alignment_log) {
-#if defined(GPR_WIN32) && defined(GPR_ARCH_64)
-  size_t alignment = 1ULL << alignment_log;
-#else
-  size_t alignment = 1 << alignment_log;
-#endif
-
+  size_t alignment = ((size_t)1) << alignment_log;
   size_t extra = alignment - 1 + sizeof(void *);
   void *p = gpr_malloc(size + extra);
   void **ret = (void **)(((gpr_uintptr)p + extra) & ~(alignment - 1));
diff --git a/src/core/support/slice_buffer.c b/src/core/support/slice_buffer.c
index a26dc1e..3b1daa0 100644
--- a/src/core/support/slice_buffer.c
+++ b/src/core/support/slice_buffer.c
@@ -117,7 +117,7 @@
                s.data.inlined.bytes, s.data.inlined.length);
         back->data.inlined.length += s.data.inlined.length;
       } else {
-		gpr_uint32 cp1 = GPR_SLICE_INLINED_SIZE - back->data.inlined.length;
+        size_t cp1 = GPR_SLICE_INLINED_SIZE - back->data.inlined.length;
         memcpy(back->data.inlined.bytes + back->data.inlined.length,
                s.data.inlined.bytes, cp1);
         back->data.inlined.length = GPR_SLICE_INLINED_SIZE;
diff --git a/src/core/support/time.c b/src/core/support/time.c
index 9af81b7..60a3c23 100644
--- a/src/core/support/time.c
+++ b/src/core/support/time.c
@@ -237,7 +237,7 @@
 gpr_int32 gpr_time_to_millis(gpr_timespec t) {
   if (t.tv_sec >= 2147483) {
     if (t.tv_sec == 2147483 && t.tv_nsec < 648 * GPR_NS_PER_MS) {
-	  return 2147483 * GPR_MS_PER_SEC + (gpr_int32)t.tv_nsec / GPR_NS_PER_MS;
+      return 2147483 * GPR_MS_PER_SEC + t.tv_nsec / GPR_NS_PER_MS;
     }
     return 2147483647;
   } else if (t.tv_sec <= -2147483) {
diff --git a/src/core/support/time_win32.c b/src/core/support/time_win32.c
index 0ca8456..f4443b5 100644
--- a/src/core/support/time_win32.c
+++ b/src/core/support/time_win32.c
@@ -64,7 +64,7 @@
     }
 
     delta = gpr_time_sub(until, now);
-	sleep_millis = (DWORD)delta.tv_sec * GPR_MS_PER_SEC + (DWORD)delta.tv_nsec / GPR_NS_PER_MS;
+    sleep_millis = (DWORD)delta.tv_sec * GPR_MS_PER_SEC + delta.tv_nsec / GPR_NS_PER_MS;
     Sleep(sleep_millis);
   }
 }