Differences From Artifact [f2fc0e7161]:
- File
src/OFDate.m
— part of check-in
[2a27cf3000]
at
2016-01-03 00:41:26
on branch trunk
— Update copyright
While at it, also update the mail address. (user: js, size: 13704) [annotate] [blame] [check-ins using]
To Artifact [69ce62e752]:
- File
src/OFDate.m
— part of check-in
[d3158d091f]
at
2016-01-05 22:00:03
on branch trunk
— (u)int_fast*_t -> (u)int*_t
(U)INT_FAST*_MAX is broken on Android, which makes (u)int_fast*_t
dangerous to use while it does not provide any real speed benefit. (user: js, size: 13699) [annotate] [blame] [check-ins using]
︙ | ︙ | |||
353 354 355 356 357 358 359 | - (uint32_t)hash { uint32_t hash; union { double d; uint8_t b[sizeof(double)]; } d; | | | 353 354 355 356 357 358 359 360 361 362 363 364 365 366 367 | - (uint32_t)hash { uint32_t hash; union { double d; uint8_t b[sizeof(double)]; } d; uint8_t i; d.d = OF_BSWAP_DOUBLE_IF_BE(_seconds); OF_HASH_INIT(hash); for (i = 0; i < sizeof(double); i++) OF_HASH_ADD(hash, d.b[i]); |
︙ | ︙ |