]> gitweb.hhaalo.de Git - sane-kds-s2000w-net.git/commitdiff
change descriptors with stdint
authorBastian Dehn <hhaalo@arcor.de>
Sat, 8 Feb 2025 19:03:18 +0000 (20:03 +0100)
committerBastian Dehn <hhaalo@arcor.de>
Sat, 8 Feb 2025 19:03:18 +0000 (20:03 +0100)
src/kds_s2000w_option_descriptors.c
src/kds_s2000w_option_descriptors.h

index e9e8adcdbaf8266eafac7ec432fbd46bbae9bb21..fd63e60c73fb3158d3aa4a1d2ad1b75d24949f7c 100644 (file)
@@ -547,7 +547,7 @@ void kds_s2000w_option_descriptors_free()
        descriptor_array = NULL;
 }
 
-SANE_Option_Descriptor* kds_s2000w_option_descriptors_get(int option)
+SANE_Option_Descriptor* kds_s2000w_option_descriptors_get(uint32_t option)
 {
        kds_s2000w_debug_printf(ALL, "kds_s2000w_option_get_descriptor");
 
index da90f97c815fed2d5629130c199da1be33d53e57..eca41fb9524c08761e87b690bf7ee7d0ffb81d10 100644 (file)
@@ -1,5 +1,6 @@
 #ifndef KDS_S2000W_OPTION_DESCRIPTORS_H
 #define KDS_S2000W_OPTION_DESCRIPTORS_H
+#include <stdint.h>
 #include <sane/sane.h>
 
 #define MAX_OPTION_COUNT 22
@@ -7,6 +8,6 @@
 void kds_s2000w_option_descriptors_init();
 void kds_s2000w_option_descriptors_free();
 
-SANE_Option_Descriptor* kds_s2000w_option_descriptors_get(int option);
+SANE_Option_Descriptor* kds_s2000w_option_descriptors_get(uint32_t option);
 
 #endif
\ No newline at end of file