| Summary: | Assumptions regarding bit-width break on 64-bit targets | ||||||
|---|---|---|---|---|---|---|---|
| Product: | [Tools] TCF | Reporter: | Peder Andersen <Peder.Andersen> | ||||
| Component: | Agent | Assignee: | 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: |
|
||||||
Committed. Thanks! |
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.