]> sigrok.org Git - libsigrok.git/commitdiff
sr_rational: Make numerator signed.
authorMartin Ling <redacted>
Mon, 7 Sep 2015 08:15:35 +0000 (09:15 +0100)
committerUwe Hermann <redacted>
Sun, 20 Sep 2015 22:32:26 +0000 (00:32 +0200)
include/libsigrok/libsigrok.h

index 983ddc0666b0e86e2d132a3583ab8fe90b09305a..cf8f9b20ed6dda7042c17dfa2cf7d24044e22fee 100644 (file)
@@ -465,7 +465,7 @@ struct sr_session;
 
 struct sr_rational {
        /** Numerator of the rational number. */
-       uint64_t p;
+       int64_t p;
        /** Denominator of the rational number. */
        uint64_t q;
 };