Skip to content

Commit 61920b9

Browse files
Merge pull request #14 from dreamer-coding/add_fson
Add FSON parser
2 parents 4735089 + a2e6915 commit 61920b9

File tree

2 files changed

+5
-6
lines changed

2 files changed

+5
-6
lines changed

README.md

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,6 @@
2929
To get started, ensure you have the following installed:
3030

3131
- **Meson Build System**: If you don’t have Meson `1.8.0` or newer installed, follow the installation instructions on the official [Meson website](https://mesonbuild.com/Getting-meson.html).
32-
- **Conan Package Manager**: If you prefer using Conan, ensure it is installed by following the instructions on the official [Conan website](https://docs.conan.io/en/latest/installation.html).
3332

3433
### Adding Dependency
3534

@@ -83,4 +82,4 @@ Running the test suite gives you both verification and practical examples you ca
8382

8483
## Contributing and Support
8584

86-
For those interested in contributing, reporting issues, or seeking support, please open an issue on the project repository or visit the [Fossil Logic Docs](https://fossillogic.com/docs) for more information. Your feedback and contributions are always welcome.
85+
For those interested in contributing, reporting issues, or seeking support, please open an issue on the project repository or visit the [Fossil Logic Docs](https://fossillogic.com/docs) for more information. Your feedback and contributions are always welcome.

code/logic/elf.c

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -583,7 +583,7 @@ void fossil_media_elf_dump(const fossil_media_elf_t *elf, FILE *out) {
583583
return;
584584
}
585585

586-
fprintf(out, "ELF Section Table (%zu sections):\n", count);
586+
fprintf(out, "ELF Section Table (%llu sections):\n", (unsigned long long)count);
587587
for (size_t i = 0; i < count; ++i) {
588588
const char *name = NULL;
589589
const uint8_t *ptr = NULL;
@@ -597,10 +597,10 @@ void fossil_media_elf_dump(const fossil_media_elf_t *elf, FILE *out) {
597597
name = "<NULL>";
598598
}
599599

600-
fprintf(out, " [%02zu] %-20s size=%zu%s\n",
601-
i,
600+
fprintf(out, " [%02llu] %-20s size=%llu%s\n",
601+
(unsigned long long)i,
602602
(rc_name == FOSSIL_MEDIA_ELF_OK ? name : "<invalid>"),
603-
(rc_data == FOSSIL_MEDIA_ELF_OK ? len : 0),
603+
(unsigned long long)(rc_data == FOSSIL_MEDIA_ELF_OK ? len : 0),
604604
(rc_data == FOSSIL_MEDIA_ELF_OK ? "" : " (no data)"));
605605
}
606606
}

0 commit comments

Comments
 (0)