Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/fill/eggfill.c
diff options
context:
space:
mode:
authorGonzalo Odiard <godiard@gmail.com>2012-10-30 13:28:26 (GMT)
committer Gonzalo Odiard <godiard@gmail.com>2012-10-30 13:28:26 (GMT)
commit122c067f12f853ad8dfe55d997cc046493419e9d (patch)
tree6caafdbd589fcd829752a9c9eb39fbbca273db64 /fill/eggfill.c
parent929a4f333b4a41dd96598afc8bae3effd0cc9de9 (diff)
Bucket implementation fixed to work in 32bit
The last commit worked in 64bit arch but not in 32bit. This fix works only in 32bit, then do not update the binaries already compiled to 64bit. Signed-off-by: Gonzalo Odiard <gonzalo@laptop.org>
Diffstat (limited to 'fill/eggfill.c')
-rw-r--r--fill/eggfill.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/fill/eggfill.c b/fill/eggfill.c
index 318879c..50af76f 100644
--- a/fill/eggfill.c
+++ b/fill/eggfill.c
@@ -122,7 +122,7 @@ void queue_dequeue(queue *q){
}/* end of queue*/
void
-floodfill(unsigned int* pixels, int x, int y, int width, int height, unsigned int color) {
+floodfill(unsigned long * pixels, int x, int y, int width, int height,unsigned long color) {
printf("\nEntrando to floodfill\n");
queue *lista_xy;