From 717da905058a1305ae9fff13150e16c7a16176e5 Mon Sep 17 00:00:00 2001 From: Daniel Hokka Zakrisson Date: Thu, 3 Jan 2008 15:33:01 +0000 Subject: [PATCH] Don't remove bits for which there were no match. Cast 1 to the TYPE, so uint64 values can be looked up. git-svn-id: http://svn.linux-vserver.org/svn/util-vserver/trunk@2651 94cd875c-1c1d-0410-91d2-eb244daf1a30 --- lib/val2text.hc | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/lib/val2text.hc b/lib/val2text.hc index ee42bb3..26ea200 100644 --- a/lib/val2text.hc +++ b/lib/val2text.hc @@ -67,10 +67,11 @@ \ if (idx==-1) { \ size_t i; \ - for (i=0; i