From 6055ece6475051b5e2d82e6deb2da9d11264ca1f Mon Sep 17 00:00:00 2001 From: Filip Navara Date: Thu, 7 Feb 2008 08:22:24 +0000 Subject: [PATCH] Fix one more bug in adding subkeys. svn path=/trunk/; revision=32181 --- reactos/tools/mkhive/cmi.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/reactos/tools/mkhive/cmi.c b/reactos/tools/mkhive/cmi.c index e6ff531913a..b95f60c5c15 100644 --- a/reactos/tools/mkhive/cmi.c +++ b/reactos/tools/mkhive/cmi.c @@ -176,7 +176,7 @@ CmiAddKeyToHashTable( { RtlMoveMemory(HashCell->List + i + 1, HashCell->List + i, - (HashCell->Count - 1 - i) * + (HashCell->Count - i) * sizeof(HashCell->List[0])); }