[HACKERS] ECPG buglet?

2007-01-25 Thread Magnus Hagander
Looking at the VC warnings, I find that in ECPGDynamicType() (typename.c in ecpglib), the default branch of the case statement returns -type. But the function returns unsigned int, so returning a negative value seems very strange to me. At least it throws a warning in VC++. //Magnus

Re: [HACKERS] ECPG buglet?

2007-01-25 Thread Michael Meskes
On Thu, Jan 25, 2007 at 01:23:57PM +0100, Magnus Hagander wrote: Looking at the VC warnings, I find that in ECPGDynamicType() (typename.c in ecpglib), the default branch of the case statement returns -type. But the function returns unsigned int, so returning a negative value seems very strange