From ae6f746cf2d69201296c72d0c157562201d10e26 Mon Sep 17 00:00:00 2001 From: Martin Baulig Date: Wed, 26 May 1999 15:30:36 +0000 Subject: [PATCH] Small fix to print correct warnings/errors. --- lib/lib.pl | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/lib/lib.pl b/lib/lib.pl index f5502b96..c854ab9f 100755 --- a/lib/lib.pl +++ b/lib/lib.pl @@ -46,14 +46,16 @@ print "\t\t*required &= present;"; print "\tcase GLIBTOP_ERROR_METHOD_WARN:"; print "\t\tglibtop_warn_r (server,"; print "\t\t\t\t_(\"glibtop_get_%s (): Client requested \""; -print "\t\t\t\t \"field mask %05Lx, but only have %05Lx.\"),"; -print "\t\t\t\t feature, old_required, present);"; +print "\t\t\t\t \"field mask %05lx, but only have %05lx.\"),"; +print "\t\t\t\t feature, (unsigned long) old_required,"; +print "\t\t\t\t (unsigned long) present);"; print "\t\tbreak;"; print "\tcase GLIBTOP_ERROR_METHOD_ABORT:"; print "\t\tglibtop_error_r (server,"; print "\t\t\t\t _(\"glibtop_get_%s (): Client requested \""; -print "\t\t\t\t \"field mask %05x, but only have %05x.\"),"; -print "\t\t\t\t feature, old_required, present);"; +print "\t\t\t\t \"field mask %05lx, but only have %05lx.\"),"; +print "\t\t\t\t feature, (unsigned long) old_required,"; +print "\t\t\t\t (unsigned long) present);"; print "\t\tbreak;"; print "\t}"; print '}';