changeset 218:0e60593006c9

Change ShellExecute return value's variable type to HINSTANCE as it should be.
author Matti Hamalainen <ccr@tnsp.org>
date Sun, 21 Nov 2010 04:22:06 +0200
parents 7ba4e371e9a6
children 477449911cb1
files nnchat.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/nnchat.c	Sun Nov 21 04:16:55 2010 +0200
+++ b/nnchat.c	Sun Nov 21 04:22:06 2010 +0200
@@ -675,7 +675,7 @@
         tmpStr = nn_encode_str1(name);
 #ifdef __WIN32
         {
-        int status;
+        HINSTANCE status;
         snprintf(tmpBuf, sizeof(tmpBuf), "http://www.newbienudes.com/profile/%s/", tmpStr);
         th_free(tmpStr);
         status = ShellExecute(NULL, "open", tmpBuf, NULL, NULL, SW_SHOWNA);