summaryrefslogtreecommitdiff
path: root/str/str.h
diff options
context:
space:
mode:
authorSoikk2025-11-06 18:22:48 +0100
committerSoikk2025-11-06 18:22:48 +0100
commit71c6daf9c73d073833eda791240f5fae22b645c6 (patch)
tree3bbfa4ed2f53ba7ad840bcaa98d4b7477b2367c7 /str/str.h
parent659e34f07c05e00baf10417503111048cbc634e3 (diff)
downloadsoikk-libs-71c6daf9c73d073833eda791240f5fae22b645c6.tar.xz
soikk-libs-71c6daf9c73d073833eda791240f5fae22b645c6.tar.zst
Fixed typos
Diffstat (limited to 'str/str.h')
-rwxr-xr-xstr/str.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/str/str.h b/str/str.h
index 7a386c4..dbf91b9 100755
--- a/str/str.h
+++ b/str/str.h
@@ -113,7 +113,7 @@ str fp_to_nstr(FILE *fp, u32 len);
str file_to_str(char *filename);
str file_to_nstr(char *filename, u32 len);
#define str_to_fd(s, fd) write(fd, s.ptr, s.len)
-#define str_to_fp(s, fp) fwrite(s.ptr, sizeof(str.ptr[0]), s.len, fp)
+#define str_to_fp(s, fp) fwrite(s.ptr, sizeof(s.ptr[0]), s.len, fp)
void str_to_file(str s, char *filename);
str map_file(char *filename);