On Tue, Aug 17, 2010 at 04:45:22AM -0500, Andreas Schneider wrote: > types.count = num_rids; > - types.ids = type; > + types.ids = (uint32_t *) type; This looks wrong. AFAIK sizeof(enum)==sizeof(int). What happens on 64-bit machines? Volker