summaryrefslogtreecommitdiffstats
path: root/tools/imagediff
diff options
context:
space:
mode:
Diffstat (limited to 'tools/imagediff')
-rw-r--r--tools/imagediff/image_diff.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/imagediff/image_diff.cc b/tools/imagediff/image_diff.cc
index 512b37f..f7be435 100644
--- a/tools/imagediff/image_diff.cc
+++ b/tools/imagediff/image_diff.cc
@@ -119,7 +119,7 @@ class Image {
}
// Returns the RGBA value of the pixel at the given location
- const uint32 pixel_at(int x, int y) const {
+ uint32 pixel_at(int x, int y) const {
DCHECK(x >= 0 && x < w_);
DCHECK(y >= 0 && y < h_);
return *reinterpret_cast<const uint32*>(&(data_[(y * w_ + x) * 4]));