diff options
Diffstat (limited to 'backend/hp3900_config.c')
-rw-r--r-- | backend/hp3900_config.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/backend/hp3900_config.c b/backend/hp3900_config.c index 3c0ed77..dba5302 100644 --- a/backend/hp3900_config.c +++ b/backend/hp3900_config.c @@ -243,7 +243,7 @@ enum fcsec6 CALIBOFFSET2ON, OFFSETTUNESTEP2, OFFSETBOUNDARYRATIO2, OFFSETAVGRATIO2, - + OFFSETEVEN2R, OFFSETEVEN2G, OFFSETEVEN2B, OFFSETODD2R, OFFSETODD2G, OFFSETODD2B, @@ -1049,7 +1049,7 @@ static SANE_Byte *cfg_motor_resource_get(SANE_Byte *size) if (rst != NULL) { - bzero(rst, sizeof(SANE_Byte) * 32); + memset(rst, 0, sizeof(SANE_Byte) * 32); switch(RTS_Debug->dev_model) { @@ -5622,7 +5622,7 @@ static int fitcalibrate_get(int section, int option, int defvalue) case SCANINFO: rst = fc_scaninfo_get(option, defvalue); break; } - + return rst; } |