Project

General

Profile

« Previous | Next » 

Revision 1c5cb90d

Added by Max Matveev about 15 years ago

  • ID 1c5cb90d01921ced4a44a6267611ed595d8c5016

Explicitly mark bitfield sign in pmUnits.

SunStudio compiler treats bitfields marked as unadorned 'int' as
unsigned (C99 standard leaves this area undefined) which means that
dimTime of -1 becomes dimTime == 15. Marking the bitfields as 'signed'
removes this ambiguity.

pmUnits is the only bitfield which uses negative values.

  • added
  • modified
  • copied
  • renamed
  • deleted