From aa2bf8420901b574c670bce3f6966f931aeeb8a9 Mon Sep 17 00:00:00 2001 From: David Schleef Date: Sun, 10 Mar 2002 20:29:17 +0000 Subject: [PATCH] Change the bitfields to unsigned int. --- comedi/drivers/ni_stc.h | 16 ++++++---------- 1 file changed, 6 insertions(+), 10 deletions(-) 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; -- 2.26.2