git: libstand: Fix qdivrem.c on x86_64. Don't assume sizeof(int) == sizeof(long).

Imre Vadasz ivadasz at crater.dragonflybsd.org
Wed Mar 2 13:30:13 PST 2016


commit 2d65809953cbd28dc468add8567b7e71431f64dd
Author: Imre Vadasz <imre at vdsz.com>
Date:   Wed Mar 2 22:24:21 2016 +0100

    libstand: Fix qdivrem.c on x86_64. Don't assume sizeof(int) == sizeof(long).
    
    * Adds two _Static_asserts() to check if the assumptions of this code
      actually hold.
    
    Taken-From: FreeBSD

Summary of changes:
 lib/libstand/qdivrem.c | 17 ++++++++---------
 lib/libstand/quad.h    |  9 ++++++---
 2 files changed, 14 insertions(+), 12 deletions(-)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/2d65809953cbd28dc468add8567b7e71431f64dd


-- 
DragonFly BSD source repository



More information about the Commits mailing list