1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2025-12-29 08:31:35 -08:00

Fixing warnings revealed by xcode (clang).

Copied from Perforce
 Change: 178898
 ServerID: perforce.ravenbrook.com
This commit is contained in:
Richard Brooksby 2012-08-11 09:30:24 +01:00
parent d39d3bcf2d
commit 13ba70d2dd
14 changed files with 21 additions and 20 deletions

View file

@ -1667,7 +1667,7 @@ void TraceStart(Trace trace, double mortality, double finishingTime)
if(nPolls >= (double)LONG_MAX)
nPolls = (double)LONG_MAX;
/* rate equals scanning work per number of polls available */
trace->rate = (trace->foundation + sSurvivors) / (long)nPolls + 1;
trace->rate = (trace->foundation + sSurvivors) / (unsigned long)nPolls + 1;
}
/* @@ DIAG for rate of scanning here. */