From: Martin Ling Date: Mon, 7 Sep 2015 08:15:35 +0000 (+0100) Subject: sr_rational: Make numerator signed. X-Git-Tag: libsigrok-0.4.0~263 X-Git-Url: https://sigrok.org/gitaction?a=commitdiff_plain;h=18ea6b76fdc77c4b1c1cc08bea4cd42d465787e6;p=libsigrok.git sr_rational: Make numerator signed. --- diff --git a/include/libsigrok/libsigrok.h b/include/libsigrok/libsigrok.h index 983ddc06..cf8f9b20 100644 --- a/include/libsigrok/libsigrok.h +++ b/include/libsigrok/libsigrok.h @@ -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; };