Make rectangle method receivers pointers

This commit is contained in:
Nigel Tao committed 2018-06-30 17:13:13 +10:00
1 parent 39c1a3d179
commit 5e905492b3
18 files changed
+2160 -1968

No files matched your search

+1 -1
View File
@@ -475,7 +475,7 @@ bool do_test_wuffs_gif_decode_animated(
if (want_dirty_rects) {
wuffs_base__rect_ie_u32 got = wuffs_base__image_buffer__dirty_rect(&ib);
wuffs_base__rect_ie_u32 want = want_dirty_rects[i];
if (!wuffs_base__rect_ie_u32__equals(got, want)) {
if (!wuffs_base__rect_ie_u32__equals(&got, want)) {
FAIL("decode_frame #%" PRIu32 ": dirty_rect: got (%" PRIu32 ", %" PRIu32
")-(%" PRIu32 ", %" PRIu32 "), want (%" PRIu32 ", %" PRIu32
")-(%" PRIu32 ", %" PRIu32 ")",