Skip to content

GitLab

  • Menu
Projects Groups Snippets
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in
  • Trac Trac
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Issues 246
    • Issues 246
    • List
    • Boards
    • Service Desk
    • Milestones
  • Monitor
    • Monitor
    • Metrics
    • Incidents
  • Analytics
    • Analytics
    • Value stream
  • Wiki
    • Wiki
  • Activity
  • Create a new issue
  • Issue Boards
Collapse sidebar
  • Legacy
  • TracTrac
  • Issues
  • #1943

Closed (moved)
(moved)
Open
Created Sep 14, 2010 by George Kadianakis@asn

Helper functions {get,set}_uint{16,32,64}() are not used

The helper functions get_uint{16,32,64}() and set_uint{16,32,64}() should be used instead of "(uint16_t)(cp)" etc. to avoid unaligned address access problems with specific OSes.

There are many cases in the source tree that this doesn't happen. For example, in the cell_unpack() function we have:

dest->command = *(uint8_t*)(src+2);
To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information
Assignee
Assign to
Time tracking