Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 304971 | Differences between
and this patch

Collapse All | Expand All

(-)qt-everywhere-opensource-src-4.7.3.orig//config.tests/unix/endian/endiantest.cpp (-4 / +4 lines)
Lines 48-56 Link Here
48
int main(int, char **)
48
int main(int, char **)
49
{
49
{
50
    // make sure the linker doesn't throw away the arrays
50
    // make sure the linker doesn't throw away the arrays
51
    char *msb_bigendian_string = (char *) msb_bigendian;
51
    void (*msb_bigendian_string)() = (void(*)()) msb_bigendian;
52
    char *lsb_littleendian_string = (char *) lsb_littleendian;
52
    void (*lsb_littleendian_string)() = (void(*)()) lsb_littleendian;
53
    (void) msb_bigendian_string;
53
    (void) msb_bigendian_string();
54
    (void) lsb_littleendian_string;
54
    (void) lsb_littleendian_string();
55
    return msb_bigendian[1] == lsb_littleendian[1];
55
    return msb_bigendian[1] == lsb_littleendian[1];
56
}
56
}

Return to bug 304971