On Thu, Feb 12, 2015 at 10:53 AM, Nithin Raju <nit...@vmware.com> 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 <nit...@vmware.com>
> Signed-off-by: Linda Sun <l...@vmware.com>
> Co-Authored-by: Linda Sun <l...@vmware.com>
Thank you. Applied!
_______________________________________________
dev mailing list
dev@openvswitch.org
http://openvswitch.org/mailman/listinfo/dev