projects
/
tfcrypt.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
10fd104
)
fix time not casted to tfc_useconds incorrectly.
author
Andrey Rys
<rys@lynxlynx.ru>
Sun, 28 Nov 2021 00:48:10 +0000
(
01:48
+0100)
committer
Andrey Rys
<rys@lynxlynx.ru>
Sun, 28 Nov 2021 00:48:10 +0000
(
01:48
+0100)
VERSION
patch
|
blob
|
history
tfc_misc.c
patch
|
blob
|
history
diff --git
a/VERSION
b/VERSION
index 87523dd7a0632907d61799465827c3f08825fa47..d81cc0710eb6cf9efd5b920a8453e1e07157b6cd 100644
(file)
--- a/
VERSION
+++ b/
VERSION
@@
-1
+1
@@
-4
1
+4
2
diff --git
a/tfc_misc.c
b/tfc_misc.c
index 57e6b2f67861e7cbd63d0f9c8383c22bebeba161..3bfd214c1914163bf0019a4241e52eb11a035a8c 100644
(file)
--- a/
tfc_misc.c
+++ b/
tfc_misc.c
@@
-89,7
+89,7
@@
void tfc_getcurtime(tfc_useconds *tx)
memset(&t, 0, sizeof(t));
gettimeofday(&t, NULL);
- *tx = t.tv_sec * 1000000 + t.tv_usec;
+ *tx =
(tfc_useconds)
t.tv_sec * 1000000 + t.tv_usec;
memset(&t, 0, sizeof(t));
}