Skip to content

Commit 44c97cf

Browse files
Fix compilation with GCC 14. (#693)
1 parent 8d95f3c commit 44c97cf

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/profile.c

+1-1
Original file line numberDiff line numberDiff line change
@@ -415,7 +415,7 @@ static void profile_dump( vbyte* ptr ) {
415415
printf("Writing profiling data...\n");
416416
fflush(stdout);
417417

418-
char* filename = ptr == NULL ? "hlprofile.dump" : hl_to_utf8(ptr);
418+
char* filename = ptr == NULL ? "hlprofile.dump" : hl_to_utf8((uchar*)ptr);
419419
FILE *f = fopen(filename,"wb");
420420
int version = HL_VERSION;
421421
fwrite("PROF",1,4,f);

0 commit comments

Comments
 (0)