diff src/common.c @ 58:fcd4b9fe957b

[gui.c]: show version and type in a box
author Paper <37962225+mrpapersonic@users.noreply.github.com>
date Thu, 21 Jul 2022 00:46:18 -0400
parents 652343b56a60
children 8f90d5addda9
line wrap: on
line diff
--- a/src/common.c	Wed Jul 20 21:31:26 2022 -0400
+++ b/src/common.c	Thu Jul 21 00:46:18 2022 -0400
@@ -1,7 +1,7 @@
 #include <stdio.h>
 #include <stdint.h>
 
-void set_data(unsigned char magic[], uint16_t version, FILE* target) {
+void set_data(unsigned char* magic, uint16_t version, FILE* target) {
 	int i;
 	fseek(target, 0x46, SEEK_SET);
 	fputc(version, target);