You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@thrift.apache.org by Richard Salz <rs...@us.ibm.com> on 2011/02/17 00:18:23 UTC

64bit ?

When we compile thrift on a 64bit platform we see things like the 
following:

.../workspace/stage/include/thrift/transport/TBufferTransports.h: In 
member function ‘virtual const uint8_t* 
apache::thrift::transport::TBufferBase::borrow(uint8_t*, uint32_t*)’:
.../workspace/stage/include/thrift/transport/TBufferTransports.h:97: 
error: conversion to ‘unsigned int’ from ‘long int’ may alter its value

Looks like uint32_t and size_t smashing into each other?

        /r$

--
STSM, WebSphere Appliance Architect
https://www.ibm.com/developerworks/mydeveloperworks/blogs/soma/