change planned in ut_vector

From: Hubert Figuiere <hfiguiere_at_teaser.fr>
Date: Sun Nov 23 2008 - 04:15:00 CET

Hi,

UT_GenericVector<> had a big flaw in its API:

addItem() returned an UT_sint32 while size() was UT_uint32 causing a lot
of casts everywhere.

Given that I doubt we reach 2^31 elements anywhere, I changed everything
to be signed. I have committed as patch with all the associated
warning removed at least in the UNIX code.

I had to do that in order to be able to continue make AbiWord build
warning free.

Just a FYI.

Hub
Received on Sun Nov 23 04:15:43 2008

This archive was generated by hypermail 2.1.8 : Sun Nov 23 2008 - 04:15:43 CET