Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 339621

Summary: Assumptions regarding bit-width break on 64-bit targets
Product: [Tools] TCF Reporter: Peder Andersen <Peder.Andersen>
Component: AgentAssignee: Project Inbox <tcf.agent-inbox>
Status: RESOLVED FIXED QA Contact: Eugene Tarassov <eugene>
Severity: normal    
Priority: P3 CC: cdtdoug
Version: unspecified   
Target Milestone: 0.4.0   
Hardware: PC   
OS: Linux   
Whiteboard:
Attachments:
Description Flags
Proposed fix eugene: iplog+

Description Peder Andersen CLA 2011-03-10 18:49:52 EST
Created attachment 190944 [details]
Proposed fix

In a number of places, the TCF agent code assumes a memory block size can be represented as an unsigned int, which does not hold for 64-bit targets.  Using the size_t type fixes things in a more portable way.

Legal Message: I, Peder Andersen, declare that I developed attached code from
scratch, without referencing any 3rd party materials except material licensed
under the EPL and EDL. I am authorized by my employer, Wind River, to make this
contribution under the EPL and EDL.
Comment 1 Eugene Tarassov CLA 2011-03-11 17:50:10 EST
Committed.
Thanks!