libdthelp: resolve 46 compiler warnings

This commit is contained in:
Peter Howkins
2012-10-08 15:34:45 +01:00
parent c3c9abd86f
commit cd39eabb18
17 changed files with 45 additions and 43 deletions

View File

@@ -1160,7 +1160,7 @@ static Widget LocateWidgetId(
Widget shellWidget,
Cursor cursorIn)
{
static Cursor DfltOnItemCursor = NULL;
static Cursor DfltOnItemCursor = 0;
Widget widget;
Widget child;
CompositeWidget comp_widget;
@@ -1179,7 +1179,7 @@ static Widget LocateWidgetId(
/* Make the target cursor */
if (cursorIn != NULL)
if (cursorIn != 0)
cursor = cursorIn;
else
#if 0
@@ -1187,7 +1187,7 @@ static Widget LocateWidgetId(
#else
{
_DtHelpProcessLock();
if (NULL == DfltOnItemCursor)
if (0 == DfltOnItemCursor)
{
char *bits;
char *maskBits;