Skip to content
Permalink
Browse files
Fix clang compile error in value.cpp
  • Loading branch information
Buggynours committed Jun 25, 2021
1 parent 7863554 commit 1c4b917
Showing 1 changed file with 2 additions and 2 deletions.
@@ -2744,11 +2744,11 @@ void DTVAL::SetValue(int n)
Tval = n;

if (Pdtp) {
size_t n = 0, slen = (size_t)Len + 1;
size_t slen = (size_t)Len + 1;
struct tm tm, *ptm= GetGmTime(&tm);

if (ptm)
n = strftime(Sdate, slen, Pdtp->OutFmt, ptm);
strftime(Sdate, slen, Pdtp->OutFmt, ptm);

} // endif Pdtp

0 comments on commit 1c4b917

Please sign in to comment.