Programming Tips - Borland C++ 5.02: vector.h(438,1): Comparing signed and unsigned values

Date: 2021jul16 Keywords: obsolete, correction Product: Borland C++ 5.02 Q. Borland C++ 5.02: vector.h(438,1): Comparing signed and unsigned values A. Its only a warning but it shouldn't happen. In the 4 places it happens, add a cast to int. For example, in line 438 change:
if (end_of_storage - finish >= n)
to:
if (end_of_storage - finish >= (int)n)