2 warnings fixed (64-bit)

Fix XtVaGetValues() output for 64-bit
Fix filename comparison in Dts.c
This commit is contained in:
Marcin Cieslak
2012-09-25 01:52:12 +02:00
committed by Jon Trulson
parent 91f228411e
commit 77ec7b56b8
2 changed files with 2 additions and 2 deletions

View File

@@ -1180,7 +1180,7 @@ type_name(const char *name, char *attr)
{
int match = 0;
if(name && (int)name != -1)
if(name && name != (char *)-1)
{
#ifdef USE_FNMATCH
match = !fnmatch(attr, name, 0);