[aseprite] 204/250: Fix compilation problem using size_t on clang 3.4 and gcc 4.8

Tobias Hansen thansen at moszumanska.debian.org
Sun Dec 20 15:27:31 UTC 2015


This is an automated email from the git hooks/post-receive script.

thansen pushed a commit to branch master
in repository aseprite.

commit 41f4fcf802bf3b18c6fab2ce9d2ae1cc4724ee5a
Author: David Capello <davidcapello at gmail.com>
Date:   Mon Oct 26 18:36:57 2015 -0300

    Fix compilation problem using size_t on clang 3.4 and gcc 4.8
---
 src/app/tools/stroke.cpp | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/app/tools/stroke.cpp b/src/app/tools/stroke.cpp
index fdf3b75..ebed89d 100644
--- a/src/app/tools/stroke.cpp
+++ b/src/app/tools/stroke.cpp
@@ -44,7 +44,7 @@ gfx::Rect Stroke::bounds() const
     minpt(m_points[0]),
     maxpt(m_points[0]);
 
-  for (size_t c=1; c<m_points.size(); ++c) {
+  for (std::size_t c=1; c<m_points.size(); ++c) {
     int x = m_points[c].x;
     int y = m_points[c].y;
     if (minpt.x > x) minpt.x = x;

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-games/aseprite.git



More information about the Pkg-games-commits mailing list