32bit compile fails on OpenSolaris due to implicit sign conversion

Bug #393556 reported by Trond Norbye
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
libmemcached
Fix Released
High
Trond Norbye

Bug Description

During compilation of the test suite a lot of implicit datatype conversion happens due to the fact that the constants doesn't specify their signess. The array is of type uint32_t, but we try to insert constants that are bigger than the maximum 32bit signed integer values in there causing an implicit conversion like the following:

"function.c", line 4127: warning: constant promoted according to the 1999 ISO C standard (E_C99_INTEGER_PROMOTION)

Changed in libmemcached:
assignee: nobody → Trond Norbye (trond-norbye)
importance: Undecided → High
status: New → In Progress
Revision history for this message
Trond Norbye (trond-norbye) wrote :

Fixed in:
revno: 543 [merge]
revision-id: brian@gaz-20090629203308-w77q1h9wn1f7an59

Changed in libmemcached:
status: In Progress → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.