comparison nnchat.c @ 347:34e3705b382c

Cast integer to HINSTANCE. This may not be a good thing .. dunno.
author Matti Hamalainen <ccr@tnsp.org>
date Thu, 23 Jun 2011 01:37:13 +0300
parents 102fb74fc794
children b54c8545dcb0
comparison
equal deleted inserted replaced
346:102fb74fc794 347:34e3705b382c
942 { 942 {
943 HINSTANCE status; 943 HINSTANCE status;
944 snprintf(tmpBuf, sizeof(tmpBuf), "http://www.newbienudes.com/profile/%s/", tmpStr); 944 snprintf(tmpBuf, sizeof(tmpBuf), "http://www.newbienudes.com/profile/%s/", tmpStr);
945 th_free(tmpStr); 945 th_free(tmpStr);
946 status = ShellExecute(NULL, "open", tmpBuf, NULL, NULL, SW_SHOWNA); 946 status = ShellExecute(NULL, "open", tmpBuf, NULL, NULL, SW_SHOWNA);
947 if (status <= 32) 947 if (status <= (HINSTANCE) 32)
948 printMsgQ(currWin, "Could not launch default web browser: %d\n", status); 948 printMsgQ(currWin, "Could not launch default web browser: %d\n", status);
949 } 949 }
950 #else 950 #else
951 { 951 {
952 int status; 952 int status;