Mercurial > hg > nnchat
changeset 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 | f3572f4f73d1 |
files | nnchat.c |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/nnchat.c Thu Jun 23 01:36:58 2011 +0300 +++ b/nnchat.c Thu Jun 23 01:37:13 2011 +0300 @@ -944,7 +944,7 @@ snprintf(tmpBuf, sizeof(tmpBuf), "http://www.newbienudes.com/profile/%s/", tmpStr); th_free(tmpStr); status = ShellExecute(NULL, "open", tmpBuf, NULL, NULL, SW_SHOWNA); - if (status <= 32) + if (status <= (HINSTANCE) 32) printMsgQ(currWin, "Could not launch default web browser: %d\n", status); } #else