[ovs-git] [openvswitch/ovs] b1bf47: getopt_long: Fix broken sequence of casts in __UNC...

GitHub noreply at github.com
Tue Sep 2 19:54:28 UTC 2014


  Branch: refs/heads/master
  Home:   https://github.com/openvswitch/ovs
  Commit: b1bf47f2251507f45d0c333314501c51207701aa
      https://github.com/openvswitch/ovs/commit/b1bf47f2251507f45d0c333314501c51207701aa
  Author: Eitan Eliahu <eliahue at vmware.com>
  Date:   2014-09-02 (Tue, 02 Sep 2014)

  Changed paths:
    M lib/getopt_long.c

  Log Message:
  -----------
  getopt_long: Fix broken sequence of casts in __UNCONST macor.

Unlike the compilation mode used for OVS x64 Linux Windows long word is
4 bytes for both 32 and 64 bit builds.
Replaced _UNCONST macro with CONST_CAST to avoid the intermediate casting
to an integer.

Testing: 32 and 64 Windows builds.
Signed-off-by: Eitan Eliahu eliahue at vmware.com
Signed-off-by: Ben Pfaff <blp at nicira.com>




More information about the git mailing list