ogl_beamforming

Ultrasound Beamforming Implemented with OpenGL
git clone anongit@rnpnr.xyz:ogl_beamforming.git
Log | Files | Refs | Feed | Submodules | README | LICENSE

Commit: 9a65ec87ee0efffb0b2dfe6fb99b17ecf1973563
Parent: 9a2c73342622c80f5a36f305d3816b736b626f51
Author: Randy Palamar
Date:   Fri, 17 Oct 2025 07:43:01 -0600

build: correct printf specifier for table entry count

Diffstat:
Mbuild.c | 4++--
1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/build.c b/build.c @@ -29,7 +29,7 @@ global char *g_argv0; #define OUTDIR "out" -#define OUTPUT(s) OUTDIR "/" s +#define OUTPUT(s) OUTDIR OS_PATH_SEPARATOR s #if COMPILER_MSVC #define COMMON_FLAGS "-nologo", "-std:c11", "-Fo:" OUTDIR "\\", "-Z7", "-Zo" @@ -1878,7 +1878,7 @@ meta_pack_table(MetaContext *ctx, MetaEntry *e, iz entry_count) MetaEntryArgument entries = meta_entry_argument_expect(row, 0, MetaEntryArgumentKind_Array); if (entries.count != t->field_count) { - meta_compiler_error_message(row->location, "incorrect field count for @%s entry got: %lu expected: %u\n", + meta_compiler_error_message(row->location, "incorrect field count for @%s entry got: %zu expected: %u\n", meta_entry_kind_strings[MetaEntryKind_Table], entries.count, t->field_count); fprintf(stderr, " fields: [");