File: clang-15.patch

package info (click to toggle)
hedgewars 1.0.3-4
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 219,040 kB
  • sloc: pascal: 54,830; cpp: 27,224; ansic: 22,809; java: 8,210; haskell: 6,797; xml: 3,076; sh: 580; objc: 113; python: 105; makefile: 32
file content (13 lines) | stat: -rw-r--r-- 486 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
diff --git a/project_files/hwc/rtl/sysutils.c b/project_files/hwc/rtl/sysutils.c
index bd1470f3..724c5c74 100644
--- a/project_files/hwc/rtl/sysutils.c
+++ b/project_files/hwc/rtl/sysutils.c
@@ -83,7 +83,7 @@ TDateTime fpcrtl_now()
 // 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;