From c49b34ae42b691518a1100346d7c749e35bc3ba3 Mon Sep 17 00:00:00 2001 From: Jan Breuer <jan.breuer@jaybee.cz> Date: 周三, 22 4月 2015 02:22:07 +0800 Subject: [PATCH] Make public SCPI_LongToStr, SCPI_DoubleToStr --- examples/common/scpi-def.c | 3 ++- 1 files changed, 2 insertions(+), 1 deletions(-) diff --git a/examples/common/scpi-def.c b/examples/common/scpi-def.c index 359fdc4..dbb869b 100644 --- a/examples/common/scpi-def.c +++ b/examples/common/scpi-def.c @@ -149,7 +149,7 @@ } SCPI_ChoiceToName(trigger_source, param, &name); - fprintf(stderr, "\tP1=%s (%d)\r\n", name, param); + fprintf(stderr, "\tP1=%s (%ld)\r\n", name, (long int)param); SCPI_ResultInt(context, param); @@ -283,3 +283,4 @@ .units = scpi_units_def, .idn = {"MANUFACTURE", "INSTR2013", NULL, "01-02"}, }; + -- Gitblit v1.9.1