]> git.sesse.net Git - bmusb/blobdiff - bmusb/bmusb.h
Fix int -> unsigned.
[bmusb] / bmusb / bmusb.h
index 22a6655b21da12792d9a4069bf415b7bfdb521ec..f4af6aa14b2a1399168d3f75673b1d2215846770 100644 (file)
@@ -177,7 +177,7 @@ class BMUSBCapture : public CaptureInterface {
 
        // Note: Cards could be unplugged and replugged between this call and
        // actually opening the card (in configure_card()).
-       static int num_cards();
+       static unsigned num_cards();
 
        std::map<uint32_t, VideoMode> get_available_video_modes() const override;
        uint32_t get_current_video_mode() const override;