summaryrefslogtreecommitdiff
path: root/src/tai.c
diff options
context:
space:
mode:
authorJannis Hoffmann <jannis@fehcom.de>2024-09-28 21:20:40 +0200
committerJannis Hoffmann <jannis@fehcom.de>2024-09-28 21:33:03 +0200
commit8e7e029114c59341ec793dc9e96ee410a5f37e2b (patch)
treeac196b359c93716158dedd767f425d9e093c9b71 /src/tai.c
parentf9a8fff2f90626aadd915178d04ece49d8c4884a (diff)
update to version 25meson
Diffstat (limited to 'src/tai.c')
-rw-r--r--src/tai.c16
1 files changed, 8 insertions, 8 deletions
diff --git a/src/tai.c b/src/tai.c
index 50bb2fe..0079cf1 100644
--- a/src/tai.c
+++ b/src/tai.c
@@ -5,7 +5,7 @@
/**
@file tai.c
@author djb
- @source qmail
+ @ref qmail
@brief 'temps atomic' time handling
*/
@@ -52,13 +52,13 @@ void tai_unpack(const char *s, struct tai *t)
x = (unsigned char)s[0];
// clang-format off
- x <<= 8; x += (unsigned char) s[1];
- x <<= 8; x += (unsigned char) s[2];
- x <<= 8; x += (unsigned char) s[3];
- x <<= 8; x += (unsigned char) s[4];
- x <<= 8; x += (unsigned char) s[5];
- x <<= 8; x += (unsigned char) s[6];
- x <<= 8; x += (unsigned char) s[7];
+ x <<= 8; x += (unsigned char)s[1];
+ x <<= 8; x += (unsigned char)s[2];
+ x <<= 8; x += (unsigned char)s[3];
+ x <<= 8; x += (unsigned char)s[4];
+ x <<= 8; x += (unsigned char)s[5];
+ x <<= 8; x += (unsigned char)s[6];
+ x <<= 8; x += (unsigned char)s[7];
// clang-format on
t->x = x;
}