[XviD-devel] ptr_t signed?

Christoph Lampert chl at math.uni-bonn.de
Wed Mar 5 10:27:45 CET 2003


Hi, 

is there any reason why ptr_t type was chosen _unsigned_.  I wanted to use
is as memory offset and loop counter, so signed type would suit me better. 
(Loops running backwards with check for >= are not possible otherwise).

C99 has two types: intptr_t is signed, uintptr_t is unsigned, we could
also introduce those to make it clearer.

gruel




More information about the XviD-devel mailing list