aboutsummaryrefslogtreecommitdiff
path: root/gen
diff options
context:
space:
mode:
authorThomas Voss <mail@thomasvoss.com> 2024-10-03 20:27:51 +0200
committerThomas Voss <mail@thomasvoss.com> 2024-10-03 20:27:51 +0200
commit2fdc8dba3690419f2b0dd12b3d6d1c391cc54ba2 (patch)
tree4d9dbbc4a3b202c5edbf218293042e87cca186fd /gen
parent4b3fcb1b0187b55ddaedfc87a39c518fb9cac365 (diff)
Don’t require arg to be passed by reference
Diffstat (limited to 'gen')
-rwxr-xr-xgen/prop/cm.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gen/prop/cm.c b/gen/prop/cm.c
index 3cb4a00..7fb1d7e 100755
--- a/gen/prop/cm.c
+++ b/gen/prop/cm.c
@@ -59,7 +59,7 @@ main(void)
m += rtoucs(buf, sizeof(buf), ch);
assert(n >= m);
- array_push(&maps, ((struct mapping){
+ array_push(maps, ((struct mapping){
.k = (uint64_t)rv.p[0] << 32 | rv.p[1],
.v = ch,
}));