Sign in
third-party-mirror
/
mingw-w64
/
refs/tags/v4.0.4
/
.
/
mingw-w64-crt
/
misc
/
difftime32.c
blob: 9eb3ecfc266bf1c4a56abba915e0cefc3aa6cfca [
file
] [
log
] [
blame
]
double
_difftime32
(
unsigned
int
_Time1
,
unsigned
int
_Time2
);
double
_difftime32
(
unsigned
int
_Time1
,
unsigned
int
_Time2
)
{
unsigned
int
r
=
_Time1
-
_Time2
;
if
(
r
>
_Time1
)
return
-((
double
)
(
_Time2
-
_Time1
));
return
(
double
)
r
;
}