VirtualBox

Changeset 67298 in vbox for trunk/src/VBox/Runtime/common


Ignore:
Timestamp:
Jun 8, 2017 1:26:34 PM (8 years ago)
Author:
vboxsync
Message:

Runtime/common/math: try to make older gcc compilers happy

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Runtime/common/math/gcc/udivmoddi4.c

    r67297 r67298  
    4141uint64_t __udivmoddi4(uint64_t u64A, uint64_t u64B, uint64_t *pu64R)
    4242{
    43     const RTUINT64U Divident = { .u = u64A };
    44     const RTUINT64U Divisor  = { .u = u64B };
     43    RTUINT64U Divident;
     44    RTUINT64U Divisor;
    4545    RTUINT64U Quotient;
    4646    RTUINT64U Reminder;
     47    Divident.u = u64A;
     48    Divisor.u  = u64B;
    4749    RTUInt64DivRem(&Quotient, &Reminder, &Divident, &Divisor);
    4850    if (pu64R)
Note: See TracChangeset for help on using the changeset viewer.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette