evristzam / ndt

Automatically exported from code.google.com/p/ndt
Other
0 stars 0 forks source link

Type Mismatch in websocket_unit_tests.c #176

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. compile the websocket test branch on 

What is the expected output? What do you see instead?
./bootstrap and ./configure output is normal

make stops with warnings in websocket_unit_tests.c and testoptions_unit_tests.c

format ‘%d’ expects argument of type ‘int’, but argument 3 has type 
‘size_t’

What version of the product are you using? On what operating system?

NDT Version: websocket test branch

CentOS release 6.6 (Final)
LSB_VERSION=base-4.0-amd64:base-4.0-noarch:core-4.0-amd64:core-4.0-noarch:graphi
cs-4.0-amd64:graphics-4.0-noarch:printing-4.0-amd64:printing-4.0-noarch

Linux version 2.6.32-504.12.2.el6.aufs.web100.x86_64 
(mockbuild@perfsonar-dev.es.net) (gcc version 4.4.7 20120313 (Red Hat 4.4.7-11) 
(GCC) ) #1 SMP Fri Mar 13 16:14:56 PDT 2015

gcc version 4.4.7 20120313 (Red Hat 4.4.7-11) (GCC)
GNU Make 3.81

Please provide any additional information below.
%lld doesn't seem to be available Recommend using %zu to print

Patches for both files are attached

Original issue reported on code.google.com by bchas...@gmail.com on 2 Apr 2015 at 10:04

Attachments:

GoogleCodeExporter commented 9 years ago
Could you move this issue to https://github.com/ndt-project/ndt/issues ?

Original comment by AaronMat...@gmail.com on 2 Apr 2015 at 11:55