[NTOS]
authorThomas Faber <thomas.faber@reactos.org>
Sat, 29 Aug 2015 14:35:02 +0000 (14:35 +0000)
committerThomas Faber <thomas.faber@reactos.org>
Sat, 29 Aug 2015 14:35:02 +0000 (14:35 +0000)
- Fix GCC build

svn path=/trunk/; revision=68860

reactos/ntoskrnl/ke/profobj.c

index 6be1dee..7c2b213 100644 (file)
@@ -331,8 +331,8 @@ KiParseProfileList(IN PKTRAP_FRAME TrapFrame,
 
         /* Get the Pointer to the Bucket Value representing this Program Counter */
         BucketValue = (PULONG)((ULONG_PTR)Profile->Buffer +
-                               ((ProgramCounter - (ULONG_PTR)Profile->RangeBase)
-                                >> Profile->BucketShift) &~ 0x3);
+                               (((ProgramCounter - (ULONG_PTR)Profile->RangeBase)
+                                >> Profile->BucketShift) &~ 0x3));
 
         /* Increment the value */
         (*BucketValue)++;