[PATCH] use ptrdiff_t instead of casting int magicks

From: Amos Jeffries <squid3_at_treenet.co.nz>
Date: Mon, 06 Sep 2010 19:15:58 +1200

Inspired from the SuSE patch submitted by Christian. This is what I
think should be happening with real ptr maths instead of obsolete
integer math with potential rounding and endian errors.

The whole of this code is 'icky' as the existing comments say. But I'm
not going to touch store APIs to fix it at the current time.

This patch is needed for the stable branches as well if it get the go-ahead.

Amos

-- 
Please be using
   Current Stable Squid 2.7.STABLE9 or 3.1.8
   Beta testers wanted for 3.2.0.2

Received on Mon Sep 06 2010 - 07:16:18 MDT

This archive was generated by hypermail 2.2.0 : Mon Sep 06 2010 - 12:00:04 MDT