diff options
author | Max Horn <max@quendi.de> | 2021-02-05 10:56:45 +0100 |
---|---|---|
committer | Leah Neukirchen <leah@vuxu.org> | 2021-02-07 14:32:46 +0100 |
commit | 11d6ac4107bee4368bb2618e1f256822558e1ccc (patch) | |
tree | 8d6f016ed3bd5d66f3b824b0da1fdd365d0fc348 /links.do | |
parent | 170ef3ee75835a2fe561ed6c749de78d5f223629 (diff) | |
download | redo-c-11d6ac4107bee4368bb2618e1f256822558e1ccc.tar.gz redo-c-11d6ac4107bee4368bb2618e1f256822558e1ccc.tar.xz redo-c-11d6ac4107bee4368bb2618e1f256822558e1ccc.zip |
Fix some compiler warnings
On non-Linux systems (e.g. macOS, BSD), st.st_ctime may not be of the right type for PRIx64 ; so just cast it to an uint64_t, which is the type PRIx64 corresponds to. Also, clang may warn about `"/"+(*dirprefix ? 0 : 1)`, suspecting a coding error. Using `(*dirprefix ? "/" : "")` is unambiguous and also easier to grok for some people (e.g. myself ;-)). Closes: #9 [via git-merge-pr]
Diffstat (limited to 'links.do')
0 files changed, 0 insertions, 0 deletions