[aseprite] 45/308: Use size_t instead of unsigned int to compare with std::vector::size()
Tobias Hansen
thansen at moszumanska.debian.org
Tue Mar 8 02:44:50 UTC 2016
This is an automated email from the git hooks/post-receive script.
thansen pushed a commit to branch master
in repository aseprite.
commit 2a3f2d6a5764cd9dbc5bea645f777f93e41cc0a2
Author: David Capello <davidcapello at gmail.com>
Date: Thu Dec 3 21:51:44 2015 -0300
Use size_t instead of unsigned int to compare with std::vector::size()
---
src/app/ui/editor/moving_cel_state.cpp | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/app/ui/editor/moving_cel_state.cpp b/src/app/ui/editor/moving_cel_state.cpp
index 881cbda..7a02389 100644
--- a/src/app/ui/editor/moving_cel_state.cpp
+++ b/src/app/ui/editor/moving_cel_state.cpp
@@ -83,7 +83,7 @@ bool MovingCelState::onMouseUp(Editor* editor, MouseMessage* msg)
// add an undoer before).
if (m_celOffset != gfx::Point(0, 0)) {
// Put the cels in the original position.
- for (unsigned int i = 0; i < m_celList.size(); i++) {
+ for (size_t i=0; i<m_celList.size(); ++i) {
Cel* cel = m_celList[i];
gfx::Point* celStart = &m_celStarts[i];
--
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