> I'm not a fan of unnecessary casts.  Can't we instead write this as:
> 
> : p - startp + 1U;
> 
> to still show that we intend for unsigned math, but without a cast?

The warning persists.

-- 
Robert Millan

  The DRM opt-in fallacy: "Your data belongs to us. We will decide when (and
  how) you may access your data; but nobody's threatening your freedom: we
  still allow you to remove your data and not access it at all."


Reply via email to