i will make the change in our code base. for the alpha version of 2.0.4 just
make this change:

if(total)
    percent = (uint32)recvd/total*100;
else
    percent = 0;

Michael Rich wrote:

> Not sure about how to fix it just yet, so if anyone figures it out first,
> let me know.  The problem is in:
>
> downloadui.cpp on line 672:
>
> percent = (uint32)recvd/total*100;
>
> total = 0.00 in the situation, which is causing a divide by zero error which
> the Alpha CPU is obviously pissed off at.  Guess some error checking needs
> to be added to make sure the line is not executed (or percent just get set
> to 0).
>
> Anyone verify if this also happens on x86 CPUs and whether it ignores it or
> not?
>
> Michael Rich
> http://alphax86dev.cjb.net
> http://www.cdx.sk/userwebs/zdrpg
>
> _______________________________________________
> [EMAIL PROTECTED]
> http://www.freeamp.org/mailman/listinfo/freeamp-dev

_______________________________________________
[EMAIL PROTECTED]
http://www.freeamp.org/mailman/listinfo/freeamp-dev

Reply via email to