Add TIME parameter debug type.

Previously we were using int64_t to debug time_t but this may not be right depending on how the compiler represents time_t, e.g. it could be a float.

Since a mismatch would have caused a compiler error we are not worried that this has actually happened, and anyway the worst case is that the debug log would be wonky.

The primary benefit, aside from correctness, is that it makes choosing a parameter debug type for time_t obvious.
This commit is contained in:
David Steele
2019-11-08 09:46:00 -05:00
parent eca00e0be0
commit edcc7306a3
11 changed files with 50 additions and 9 deletions
+1 -1
View File
@@ -151,7 +151,7 @@ unit:
# ----------------------------------------------------------------------------------------------------------------------------
- name: type-convert
total: 9
total: 10
coverage:
common/type/convert: full