--- xtest/xts5/src/libXtTest/check.c.old 2006-09-12 13:44:51.243283144 +0800 +++ xtest/xts5/src/libXtTest/check.c 2006-09-12 13:45:46.709850944 +0800 @@ -74,7 +74,7 @@ char *item_name; { if (goesin != shouldbe) { - sprintf(ebuf, "ERROR: Expected %s of %d, Received %d", item_name, goesin, shouldbe); + sprintf(ebuf, "ERROR: Expected %s of %ld, Received %ld", item_name, goesin, shouldbe); tet_infoline(ebuf); tet_result(TET_FAIL); return 1; @@ -88,7 +88,7 @@ char *item_name; { if (goesin == shouldnotbe) { - sprintf(ebuf, "ERROR: Expected %s not = %d, received %d", item_name, goesin, shouldnotbe); + sprintf(ebuf, "ERROR: Expected %s not = %ld, received %ld", item_name, goesin, shouldnotbe); tet_infoline(ebuf); tet_result(TET_FAIL); return 1;