Fix clang-15 compile error default tip
authorLocutusOfBorg
Fri, 23 Sep 2022 12:47:47 -0400
changeset 15877 6cb7330113d8
parent 15876 1878d95d6e15
Fix clang-15 compile error
project_files/hwc/rtl/sysutils.c
--- a/project_files/hwc/rtl/sysutils.c	Fri Sep 23 02:45:49 2022 +0300
+++ b/project_files/hwc/rtl/sysutils.c	Fri Sep 23 12:47:47 2022 -0400
@@ -83,7 +83,7 @@
 // Semi-dummy implementation of FormatDateTime
 string255 fpcrtl_formatDateTime(string255 FormatStr, TDateTime DateTime)
 {
-    string255 buffer = STRINIT(FormatStr.str);
+    string255 buffer = FormatStr;
     time_t rawtime;
     struct tm* my_tm;