diff options
Diffstat (limited to '')
-rw-r--r-- | merge.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/merge.c b/merge.c index 04396d6..e5a5f64 100644 --- a/merge.c +++ b/merge.c @@ -90,7 +90,7 @@ int main(int argc, char *argv[]) { if (!lenA || !lenB) errx(EX_IOERR, "different size inputs"); if (tileA.modify == tileB.modify) { - ssize_t lenC = writeAll(c, (char *)&tileA, sizeof(tileA)); + ssize_t lenC = writeAll(c, (char *)&tileB, sizeof(tileB)); if (lenC < 0) err(EX_IOERR, "%s", argv[3]); continue; } |