Fix all compilation warnings
[fw/stlink] / src / stlink-common.h
index edf8c6733b46a43288a6ccc1670c884fd45d8d8e..579622892b38ccb4858a50636f454f0537003663 100644 (file)
@@ -397,7 +397,7 @@ static const chip_params_t devices[] = {
         void (*step) (stlink_t * stl);
         int (*current_mode) (stlink_t * stl);
         void (*force_debug) (stlink_t *sl);
-        uint32_t (*target_voltage) (stlink_t *sl);
+        int32_t (*target_voltage) (stlink_t *sl);
     } stlink_backend_t;
 
     struct _stlink {