diff --git a/ChangeLog.md b/ChangeLog.md
--- a/ChangeLog.md
+++ b/ChangeLog.md
@@ -1,1 +1,3 @@
-No changes logged yet
+## 3.0.0.2
+
+* Support for Win64
diff --git a/wai-handler-launch.cabal b/wai-handler-launch.cabal
--- a/wai-handler-launch.cabal
+++ b/wai-handler-launch.cabal
@@ -1,5 +1,5 @@
 Name:                wai-handler-launch
-Version:             3.0.0.1
+Version:             3.0.0.2
 Synopsis:            Launch a web app in the default browser.
 description:         API docs and the README are available at <http://www.stackage.org/package/wai-handler-launch>.
 License:             MIT
@@ -25,7 +25,7 @@
     if os(windows)
         c-sources: windows.c
         cpp-options: -DWINDOWS
-        extra-libraries: Shell32
+        extra-libraries: Shell32 msvcrt
     else
         build-depends: process >= 1.0 && < 1.3
         if os(darwin)
diff --git a/windows.c b/windows.c
--- a/windows.c
+++ b/windows.c
@@ -6,7 +6,7 @@
 {
     int len = 8 + strlen("http://127.0.0.1:") + strlen(s);
     char *buff = malloc(len);
-    snprintf(buff, len, "http://127.0.0.1:%d/%s", port, s);
+    _snprintf(buff, len, "http://127.0.0.1:%d/%s", port, s);
     ShellExecute(NULL, "open", buff, NULL, NULL, SW_SHOWNORMAL);
     free(buff);
 }
