Skip to content

Commit

Permalink
Applying the same patch as topepo/Cubist#50
Browse files Browse the repository at this point in the history
It does not look like we need the patch from topepo/Cubist#49, because that `snprintf()` call doesn't exist in C5.0 (if I am reading the code correctly)
  • Loading branch information
DavisVaughan committed Mar 9, 2023
1 parent 0e6db57 commit 86fdc62
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/utility.c
Original file line number Diff line number Diff line change
Expand Up @@ -766,7 +766,7 @@ void CValToStr(ContValue CV, Attribute Att, String DS, size_t DS_size)
DayToDate(floor(CV / 1440) + TSBase, DS, DS_size);
DS[10] = ' ';
Mins = rint(CV) - floor(CV / 1440) * 1440;
SecsToTime(Mins * 60, DS + 11, DS_size);
SecsToTime(Mins * 60, DS + 11, DS_size - 11);
} else if (DateVal(Att)) {
DayToDate(CV, DS, DS_size);
} else if (TimeVal(Att)) {
Expand Down

0 comments on commit 86fdc62

Please sign in to comment.