From: David Schleef Date: Sun, 10 Mar 2002 20:29:17 +0000 (+0000) Subject: Change the bitfields to unsigned int. X-Git-Tag: r0_7_64~57 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=aa2bf8420901b574c670bce3f6966f931aeeb8a9;p=comedi.git Change the bitfields to unsigned int. --- diff --git a/comedi/drivers/ni_stc.h b/comedi/drivers/ni_stc.h index ab42dfcd..867a7af9 100644 --- a/comedi/drivers/ni_stc.h +++ b/comedi/drivers/ni_stc.h @@ -609,7 +609,7 @@ typedef struct ni_board_struct{ int adbits; int ai_fifo_depth; - int alwaysdither : 1; + unsigned int alwaysdither : 1; int gainlkup; int ai_speed; @@ -619,15 +619,11 @@ typedef struct ni_board_struct{ int ao_fifo_depth; int aorangelkup; - int ao_unipolar : 1; - - int has_8255 : 1; - - int has_analog_trig : 1; - - int ao_671x : 1; - - int reg_611x : 1; + unsigned int ao_unipolar : 1; + unsigned int has_8255 : 1; + unsigned int has_analog_trig : 1; + unsigned int ao_671x : 1; + unsigned int reg_611x : 1; enum caldac_enum caldac[3]; }ni_board;