From 18ea6b76fdc77c4b1c1cc08bea4cd42d465787e6 Mon Sep 17 00:00:00 2001 From: Martin Ling Date: Mon, 7 Sep 2015 09:15:35 +0100 Subject: [PATCH] sr_rational: Make numerator signed. --- include/libsigrok/libsigrok.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; };