fixed ppc build: replaced a cast to float with a multiplication as the cast requires __floatdisf from libgcc

the other solution would have been to link against libgcc.a. please comment.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@21757 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
Jérôme Duval
2007-07-30 19:57:50 +00:00
parent 3c25084c0e
commit af8bd8f6b4
@@ -1542,7 +1542,7 @@ move_partition(int fd, off_t fromOffset, off_t toOffset, off_t size,
return error;
fromOffset += buffer_size;
toOffset += buffer_size;
update_disk_device_job_progress(job, (float)i / cycleCount);
update_disk_device_job_progress(job, i * 1.0 / cycleCount);
}
if (remainingSize)
error = move_block(fd, fromOffset, toOffset, buffer, remainingSize);