summaryrefslogtreecommitdiffstats
path: root/MdePkg/Library/BaseLib/RRotU32.c
diff options
context:
space:
mode:
authorvanjeff <vanjeff@6f19259b-4bc3-4df7-8a09-765794883524>2008-09-24 05:30:40 +0000
committervanjeff <vanjeff@6f19259b-4bc3-4df7-8a09-765794883524>2008-09-24 05:30:40 +0000
commit5385a579693ec4b4876b9c6fd8cd472e49ed5fd6 (patch)
tree06a60985420f2dc1c01ab5bbe0df9b7a9ad0285a /MdePkg/Library/BaseLib/RRotU32.c
parentdfb8993c3c35616d2e986d000cea855b1f6b43ac (diff)
downloadedk2-5385a579693ec4b4876b9c6fd8cd472e49ed5fd6.tar.gz
edk2-5385a579693ec4b4876b9c6fd8cd472e49ed5fd6.tar.bz2
edk2-5385a579693ec4b4876b9c6fd8cd472e49ed5fd6.zip
clean up baselib according to review comments.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5958 6f19259b-4bc3-4df7-8a09-765794883524
Diffstat (limited to 'MdePkg/Library/BaseLib/RRotU32.c')
-rw-r--r--MdePkg/Library/BaseLib/RRotU32.c7
1 files changed, 2 insertions, 5 deletions
diff --git a/MdePkg/Library/BaseLib/RRotU32.c b/MdePkg/Library/BaseLib/RRotU32.c
index b90ae7f424..63f9ce6e6a 100644
--- a/MdePkg/Library/BaseLib/RRotU32.c
+++ b/MdePkg/Library/BaseLib/RRotU32.c
@@ -1,7 +1,7 @@
/** @file
Math worker functions.
- Copyright (c) 2006, Intel Corporation<BR>
+ Copyright (c) 2006 - 2008, Intel Corporation<BR>
All rights reserved. This program and the accompanying materials
are licensed and made available under the terms and conditions of the BSD License
which accompanies this distribution. The full text of the license may be found at
@@ -12,9 +12,6 @@
**/
-
-
-
#include "BaseLibInternals.h"
/**
@@ -40,6 +37,6 @@ RRotU32 (
IN UINTN Count
)
{
- ASSERT (Count < sizeof (Operand) * 8);
+ ASSERT (Count < 32);
return (Operand >> Count) | (Operand << (32 - Count));
}