# HG changeset patch # User Matti Hamalainen # Date 1290306126 -7200 # Node ID 0e60593006c9d7eefbd8500eb4fb82ecbace70ec # Parent 7ba4e371e9a6a2e515ce83372c554b8bb09d23b1 Change ShellExecute return value's variable type to HINSTANCE as it should be. diff -r 7ba4e371e9a6 -r 0e60593006c9 nnchat.c --- 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);