X-Git-Url: http://sigrok.org/gitweb/?a=blobdiff_plain;f=include%2Flibsigrok%2Fproto.h;h=0892b99e096877569e940b62f30d10040c77eab6;hb=7c198f968b8145321e3b7066c2a549b028a6320b;hp=19c1680f8d7fc1d14efb59f307842370c4d0e270;hpb=782b16447b25ce31d41764ae91681a6aa4f3fe0d;p=libsigrok.git diff --git a/include/libsigrok/proto.h b/include/libsigrok/proto.h index 19c1680f..0892b99e 100644 --- a/include/libsigrok/proto.h +++ b/include/libsigrok/proto.h @@ -33,7 +33,7 @@ SR_API int sr_analog_to_float(const struct sr_datafeed_analog2 *analog, SR_API int sr_analog_float_to_string(float value, int digits, char **result); SR_API int sr_analog_unit_to_string(const struct sr_datafeed_analog2 *analog, char **result); -SR_API void sr_rational_set(struct sr_rational *r, uint64_t p, uint64_t q); +SR_API void sr_rational_set(struct sr_rational *r, int64_t p, uint64_t q); /*--- backend.c -------------------------------------------------------------*/