Ticket #19 (new defect)

Opened 4 years ago

Last modified 4 years ago

Fix integer data types in BTEs

Reported by: thomasm Owned by:
Priority: minor Milestone: 1.1
Version: Keywords:
Cc:

Description (last modified by thomasm) (diff)

For instance, the os block size in source:/trunk/tpie/bte/stream_ufs.h should probably be unsigned, but since TPIE_OS_WRITE has no other way of returning error than returning -1, everything needs to be signed.. But this breaks source:/trunk/tpie/bte/stream_ufs.h#L524 since the return type of "sizeof" is unsigned and this forces us to static_cast our way out.

Change History

Changed 4 years ago by thomasm

  • description modified (diff)
  • summary changed from Fix integer data types to Fix integer data types in BTEs
Note: See TracTickets for help on using tickets.