Re: [Mesa-dev] [PATCH] vbo: fix debug message format string in case of 32-bit machines

2016-08-02 Thread Brian Paul
On 08/02/2016 08:45 AM, ⚛ wrote: On Tue, Aug 2, 2016 at 4:13 PM, Brian Paul wrote: In bufferobj.c, it looks like we're just using %d or %s and casting the arguments to int. But in other places, we're using %ld and casting to long. That's not going to accurately report 64-bit values, but I gues

Re: [Mesa-dev] [PATCH] vbo: fix debug message format string in case of 32-bit machines

2016-08-02 Thread
On Tue, Aug 2, 2016 at 4:13 PM, Brian Paul wrote: > In bufferobj.c, it looks like we're just using %d or %s and casting the > arguments to int. But in other places, we're using %ld and casting to long. > That's not going to accurately report 64-bit values, but I guess that hasn't > been a concern

Re: [Mesa-dev] [PATCH] vbo: fix debug message format string in case of 32-bit machines

2016-08-02 Thread Brian Paul
On 08/01/2016 04:35 PM, Jan Ziak wrote: Signed-off-by: Jan Ziak (http://atom-symbol.net) <0xe2.0x9a.0...@gmail.com> --- src/mesa/vbo/vbo_exec_array.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/mesa/vbo/vbo_exec_array.c b/src/mesa/vbo/vbo_exec_array.c index 90f1

[Mesa-dev] [PATCH] vbo: fix debug message format string in case of 32-bit machines

2016-08-01 Thread Jan Ziak
Signed-off-by: Jan Ziak (http://atom-symbol.net) <0xe2.0x9a.0...@gmail.com> --- src/mesa/vbo/vbo_exec_array.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/mesa/vbo/vbo_exec_array.c b/src/mesa/vbo/vbo_exec_array.c index 90f1321..fe74c73 100644 --- a/src/mesa/vbo/vbo_e