fixed BOOL formatting for 64-bit arch. -James