On Thu, Feb 12, 2015 at 10:53 AM, Nithin Raju <[email protected]> wrote:
> _BitScanForward() and friends are part of the Windows API and
> take DWORD as parameter type. DWORD is defined to be 'unsigned long'
> in Windows' header files.
>
> We call into these functions from within lib/util.h. Currently, we
> pass arguments of type uint32_t which is type defined to
> 'unsigned int'. This incompatiblity causes failures when we compile
> the code as C++ code or with warnings enabled, when compiled as C
> code.
>
> The fix is to use 'unsigned long' rather than fixed size type.
>
> Signed-off-by: Nithin Raju <[email protected]>
> Signed-off-by: Linda Sun <[email protected]>
> Co-Authored-by: Linda Sun <[email protected]>
Thank you. Applied!
_______________________________________________
dev mailing list
[email protected]
http://openvswitch.org/mailman/listinfo/dev