[ros-dev] [ros-diffs] [akhaldi] 53527: [WIN32K] * Remove some useless asserts considering cLockObj is DWORD.

James Tabor jimtabor.rosdev at gmail.com
Fri Sep 2 22:13:59 UTC 2011


It's okay, the check is handled with referencing in object.c.

On Fri, Sep 2, 2011 at 7:22 AM, Timo Kreuzer <timo.kreuzer at web.de> wrote:
> Am 02.09.2011 13:05, schrieb Alex Ionescu:
>>
>> These asserts are not useless.
>>
>> A DWORD can also underflow (due to a bug), hence the point of these
>> ASSERTs -- the only bug is that the ASSERT should cast to LONG.
>>
>> Best regards,
>> Alex Ionescu
>>
>>
> They were in the complete wrong place then.
>
>
> _______________________________________________
> Ros-dev mailing list
> Ros-dev at reactos.org
> http://www.reactos.org/mailman/listinfo/ros-dev
>



More information about the Ros-dev mailing list