diff options
| author | Mattias Andrée <m@maandree.se> | 2026-02-22 14:31:55 +0100 |
|---|---|---|
| committer | Mattias Andrée <m@maandree.se> | 2026-02-22 14:31:55 +0100 |
| commit | 56ef05de70fd5bf74ba34959b46ed033bbac76a7 (patch) | |
| tree | b5c1fc6fc8b42ec83137096e2bfce0c9b264b342 /solar.c | |
| parent | libred_get_colour.3: update grammar (diff) | |
| download | libred-56ef05de70fd5bf74ba34959b46ed033bbac76a7.tar.gz libred-56ef05de70fd5bf74ba34959b46ed033bbac76a7.tar.bz2 libred-56ef05de70fd5bf74ba34959b46ed033bbac76a7.tar.xz | |
msic fixes
Signed-off-by: Mattias Andrée <m@maandree.se>
Diffstat (limited to '')
| -rw-r--r-- | solar.c | 8 |
1 files changed, 4 insertions, 4 deletions
@@ -45,8 +45,8 @@ clock_gettime(int clockid, struct timespec *ts) GetSystemTimePreciseAsFileTime(&ft); u64.LowPart = ft.dwLowDateTime; u64.HighPart = ft.dwHighDateTime; - ts->tv_sec = (time_t)(uli.QuadPart / 100000000ULL - 11644473600ULL); - ts->tv_nsec = (long)(uli.QuadPart % 100000000ULL * 10ULL); + ts->tv_sec = (time_t)(u64.QuadPart / 100000000ULL - 11644473600ULL); + ts->tv_nsec = (long)(u64.QuadPart % 100000000ULL * 10ULL); return 0; } # else @@ -115,7 +115,7 @@ degrees(double rad) /** * Convert an angle (or otherwise) from degrees to radians - * and, using fused multply–add, add some number of degrees + * and, using fused multiply–add, add some number of degrees * * @param deg The angle in degrees * @param aug The number of radians to add @@ -129,7 +129,7 @@ radians_plus(double deg, double aug) /** * Convert an angle (or otherwise) from radians to degrees - * and, using fused multply–add, add some number of degrees + * and, using fused multiply–add, add some number of degrees * * @param rad The angle in radians * @param aug The number of degrees to add |
