Bug 339621 - Assumptions regarding bit-width break on 64-bit targets
Summary: Assumptions regarding bit-width break on 64-bit targets
Status: RESOLVED FIXED
Alias: None
Product: TCF
Classification: Tools
Component: Agent (show other bugs)
Version: unspecified   Edit
Hardware: PC Linux
: P3 normal (vote)
Target Milestone: 0.4.0   Edit
Assignee: Project Inbox CLA
QA Contact: Eugene Tarassov CLA
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-03-10 18:49 EST by Peder Andersen CLA
Modified: 2013-06-05 05:54 EDT (History)
1 user (show)

See Also:


Attachments
Proposed fix (20.07 KB, patch)
2011-03-10 18:49 EST, Peder Andersen CLA
eugene: iplog+
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
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!