[ros-diffs] [blight] 13189: Fix compiler warning.

blight at svn.reactos.com blight at svn.reactos.com
Fri Jan 21 18:24:36 CET 2005


Fix compiler warning.
Modified: trunk/reactos/ntoskrnl/ob/object.c
  _____  

Modified: trunk/reactos/ntoskrnl/ob/object.c
--- trunk/reactos/ntoskrnl/ob/object.c	2005-01-21 17:17:13 UTC (rev
13188)
+++ trunk/reactos/ntoskrnl/ob/object.c	2005-01-21 17:24:34 UTC (rev
13189)
@@ -51,7 +51,7 @@

   NTSTATUS Status = STATUS_SUCCESS;
   
   /* at least one output parameter must be != NULL! */
-  ASSERT((ULONG_PTR)CapturedObjectAttributes ^ (ULONG_PTR)ObjectName !=
0);
+  ASSERT(((ULONG_PTR)CapturedObjectAttributes ^ (ULONG_PTR)ObjectName)
!= 0);
   
   if(ObjectAttributes == NULL)
   {
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.reactos.org/pipermail/ros-diffs/attachments/20050121/59f6dd9b/attachment.html


More information about the Ros-diffs mailing list