[ https://issues.apache.org/jira/browse/ZOOKEEPER-382?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Mahadev konar updated ZOOKEEPER-382: ------------------------------------ Attachment: ZOOKEEPER-382.patch this patch should fix the issue. (just casts it explicitly). > zookeeper cpp tests fails on 64 bit machines with gcc 4.1.2 > ----------------------------------------------------------- > > Key: ZOOKEEPER-382 > URL: https://issues.apache.org/jira/browse/ZOOKEEPER-382 > Project: Zookeeper > Issue Type: Bug > Reporter: Mahadev konar > Assignee: Mahadev konar > Fix For: 3.2.0 > > Attachments: ZOOKEEPER-382.patch > > > the zookeeper c tests fail on 64 bit machines with gcc 4.1.2 with the > following error > [exec] /workspace/zootestbuild/trunk/src/c/tests/TestClient.cc: In static > member function 'static void Zookeeper_simpleSystem::statCompletion(int, > const Stat*, const void*)': > [exec] /workspace/zootestbuild/trunk/src/c/tests/TestClient.cc:273: > error: cast from 'const void*' to 'int' loses precision > [exec]/workspace/zootestbuild/trunk/src/c/tests/TestClient.cc: In > static member function 'static void > Zookeeper_simpleSystem::voidCompletion(int, const void*)': > [exec] /workspace/zootestbuild/trunk/src/c/tests/TestClient.cc:291: > error: cast from 'const void*' to 'int' loses precision > -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.