diff options
author | jan.nijtmans <nijtmans@users.sourceforge.net> | 2011-08-15 14:11:01 (GMT) |
---|---|---|
committer | jan.nijtmans <nijtmans@users.sourceforge.net> | 2011-08-15 14:11:01 (GMT) |
commit | 29d4ebbe2818e74bc84371fc4535ae97b7284524 (patch) | |
tree | f5e8c18910c1cefbfbfc9b7fed9e08756a889d6a /win/tclWinDde.c | |
parent | fd1dbc086751dff48dbbbd4012e5f5ac0f46b06f (diff) | |
download | tcl-29d4ebbe2818e74bc84371fc4535ae97b7284524.zip tcl-29d4ebbe2818e74bc84371fc4535ae97b7284524.tar.gz tcl-29d4ebbe2818e74bc84371fc4535ae97b7284524.tar.bz2 |
[Bug 3388350] mingw64 compiler warnings
Diffstat (limited to 'win/tclWinDde.c')
-rw-r--r-- | win/tclWinDde.c | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/win/tclWinDde.c b/win/tclWinDde.c index f16625c..f5882c6 100644 --- a/win/tclWinDde.c +++ b/win/tclWinDde.c @@ -844,8 +844,8 @@ DdeServicesOnAck(HWND hwnd, WPARAM wParam, LPARAM lParam) es = (ddeEnumServices *)GetWindowLong(hwnd, GWL_USERDATA); #endif - if ((es->service == (ATOM)NULL || es->service == service) - && (es->topic == (ATOM)NULL || es->topic == topic)) { + if ((es->service == (ATOM)0 || es->service == service) + && (es->topic == (ATOM)0 || es->topic == topic)) { Tcl_Obj *matchPtr = Tcl_NewListObj(0, NULL); GlobalGetAtomName(service, sz, 255); @@ -890,9 +890,9 @@ DdeGetServicesList(Tcl_Interp *interp, char *serviceName, char *topicName) es.interp = interp; es.result = TCL_OK; es.service = (serviceName == NULL) - ? (ATOM)NULL : GlobalAddAtom(serviceName); + ? (ATOM)0 : GlobalAddAtom(serviceName); es.topic = (topicName == NULL) - ? (ATOM)NULL : GlobalAddAtom(topicName); + ? (ATOM)0 : GlobalAddAtom(topicName); Tcl_ResetResult(interp); /* our list is to be appended to result. */ DdeCreateClient(&es); @@ -900,9 +900,9 @@ DdeGetServicesList(Tcl_Interp *interp, char *serviceName, char *topicName) if (IsWindow(es.hwnd)) DestroyWindow(es.hwnd); - if (es.service != (ATOM)NULL) + if (es.service != (ATOM)0) GlobalDeleteAtom(es.service); - if (es.topic != (ATOM)NULL) + if (es.topic != (ATOM)0) GlobalDeleteAtom(es.topic); return es.result; } |