VirtualBox

Changeset 67297 in vbox for trunk/src/VBox/Runtime


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

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

File:
1 edited

Legend:

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

    r67296 r67297  
    4141uint64_t __udivmoddi4(uint64_t u64A, uint64_t u64B, uint64_t *pu64R)
    4242{
    43     RTUINT64U Divident = { u64A };
    44     RTUINT64U Divisor  = { u64B };
     43    const RTUINT64U Divident = { .u = u64A };
     44    const RTUINT64U Divisor  = { .u = u64B };
    4545    RTUINT64U Quotient;
    4646    RTUINT64U Reminder;
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