trafficserver-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From zw...@apache.org
Subject svn commit: r1164740 - /trafficserver/traffic/trunk/iocore/cache/CacheWrite.cc
Date Fri, 02 Sep 2011 22:10:28 GMT
Author: zwoop
Date: Fri Sep  2 22:10:27 2011
New Revision: 1164740

URL: http://svn.apache.org/viewvc?rev=1164740&view=rev
Log:
TS-941 invalid cast of off_t math to int.

Author: B Wyatt
Review: leif

Modified:
    trafficserver/traffic/trunk/iocore/cache/CacheWrite.cc

Modified: trafficserver/traffic/trunk/iocore/cache/CacheWrite.cc
URL: http://svn.apache.org/viewvc/trafficserver/traffic/trunk/iocore/cache/CacheWrite.cc?rev=1164740&r1=1164739&r2=1164740&view=diff
==============================================================================
--- trafficserver/traffic/trunk/iocore/cache/CacheWrite.cc (original)
+++ trafficserver/traffic/trunk/iocore/cache/CacheWrite.cc Fri Sep  2 22:10:27 2011
@@ -694,8 +694,8 @@ Ldone:
 int
 Vol::evac_range(off_t low, off_t high, int evac_phase)
 {
-  int s = offset_to_vol_offset(this, low);
-  int e = offset_to_vol_offset(this, high);
+  off_t s = offset_to_vol_offset(this, low);
+  off_t e = offset_to_vol_offset(this, high);
   int si = dir_offset_evac_bucket(s);
   int ei = dir_offset_evac_bucket(e);
 



Mime
View raw message