diff options
Diffstat (limited to 'samples')
-rw-r--r-- | samples/image_diff.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/samples/image_diff.cc b/samples/image_diff.cc index 88a3956d09..d24652910f 100644 --- a/samples/image_diff.cc +++ b/samples/image_diff.cc @@ -80,8 +80,8 @@ class Image { fclose(f); - if (!image_diff_png::DecodePNG(&compressed[0], compressed.size(), - &data_, &w_, &h_)) { + if (!image_diff_png::DecodePNG(compressed.data(), compressed.size(), &data_, + &w_, &h_)) { Clear(); return false; } |