diff options
author | Torbjörn Andersson | 2006-05-24 19:51:37 +0000 |
---|---|---|
committer | Torbjörn Andersson | 2006-05-24 19:51:37 +0000 |
commit | 4a583216fbfd7eee2197bac249c3f62007c2d4e4 (patch) | |
tree | 1f4d29458dd829d0d8f11b386040ec1a18b12a1a /engines/agi/sprite.cpp | |
parent | 8d954b7ae50c0391ba49ceeb26294a21bbe5b77f (diff) | |
download | scummvm-rg350-4a583216fbfd7eee2197bac249c3f62007c2d4e4.tar.gz scummvm-rg350-4a583216fbfd7eee2197bac249c3f62007c2d4e4.tar.bz2 scummvm-rg350-4a583216fbfd7eee2197bac249c3f62007c2d4e4.zip |
Fixed most - not all - GCC warnings.
svn-id: r22614
Diffstat (limited to 'engines/agi/sprite.cpp')
-rw-r--r-- | engines/agi/sprite.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/engines/agi/sprite.cpp b/engines/agi/sprite.cpp index f807e1da01..af8588a84d 100644 --- a/engines/agi/sprite.cpp +++ b/engines/agi/sprite.cpp @@ -452,10 +452,10 @@ static void free_list(struct list_head *head) { * sprites of the given list have moved. */ static void commit_sprites(struct list_head *head) { - struct list_head *h; + struct list_head *pos; - list_for_each(h, head, next) { - struct sprite *s = list_entry(h, struct sprite, list); + list_for_each(pos, head, next) { + struct sprite *s = list_entry(pos, struct sprite, list); int x1, y1, x2, y2, w, h; w = (s->v->cel_data->width > s->v->cel_data_2->width) ? |