Bug#326451: jlint: FTBFS (amd64): cast from 'const void*' to 'int' loses precision

2005-09-09 Thread Kurt Roeckx
On Fri, Sep 09, 2005 at 09:16:04AM +0530, Ganesan Rajagopal wrote: Kurt Roeckx wrote: It looks like the patch was only partially applied? Anyway, please do not cast a pointer to either an int or a long. Cast it to an intptr_t if you have to, but you should be able to avoid that too.

Bug#326451: jlint: FTBFS (amd64): cast from 'const void*' to 'int' loses precision

2005-09-09 Thread Ganesan Rajagopal
Kurt Roeckx wrote: On Fri, Sep 09, 2005 at 09:16:04AM +0530, Ganesan Rajagopal wrote: Thanks. But how do you give a printf format argument for intptr_t? You shouldn't. You passed an integer to it, so extract an integer from the va_list. You could cast it back to an int if you want

Bug#326451: jlint: FTBFS (amd64): cast from 'const void*' to 'int' loses precision

2005-09-08 Thread Kurt Roeckx
found 326451 3.0-3 thanks Hi, 3.0-3 is still failing to build: jlint.cc: In function 'void format_message(int, const utf_string, int, __va_list_tag*)': jlint.cc:240: warning: field precision should have type 'int', but argument 3 has type 'long int' jlint.cc:264: error: cast from 'const void*'

Bug#326451: jlint: FTBFS (amd64): cast from 'const void*' to 'int' loses precision

2005-09-08 Thread Ganesan Rajagopal
Kurt Roeckx wrote: found 326451 3.0-3 thanks I had noted the problem myself and already uploaded 3.0-4. 3.0-4 has already been autobuilt successfully for ia64 and alpha. http://buildd.debian.org/build.php?arch=pkg=jlint It looks like the patch was only partially applied? Anyway, please

Bug#326451: jlint: FTBFS (amd64): cast from 'const void*' to 'int' loses precision

2005-09-07 Thread Andreas Jochens
reopen 326451 retitle 326451 FTBFS (amd64): cast from 'const void*' to 'int' loses precision thanks Hello, thanks for fixing the Build-Depends. However, the patch contained a second part which was not applied. When building 'jlint' on amd64/unstable, I still get the following error: jlint.cc: