summaryrefslogtreecommitdiff
path: root/c-structs/write.c
diff options
context:
space:
mode:
Diffstat (limited to 'c-structs/write.c')
-rw-r--r--c-structs/write.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/c-structs/write.c b/c-structs/write.c
index e83531a..5de3a8f 100644
--- a/c-structs/write.c
+++ b/c-structs/write.c
@@ -12,7 +12,7 @@ int main(void) {
ch.health = 30;
ch.damage = 5.9;
- FILE* file = fopen("character.dat", "wb");
+ FILE *file = fopen("character.dat", "wb");
if (file == NULL) {
perror("Error opening file");
return 1;