From b5a68300a4a3cfa83121eaa61a5d09516ca08cd3 Mon Sep 17 00:00:00 2001
From: Jan Breuer <jan.breuer@jaybee.cz>
Date: 周五, 09 10月 2015 16:48:42 +0800
Subject: [PATCH] Update unit test to reproduce issue #56

---
 examples/common/scpi-def.cpp |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/examples/common/scpi-def.cpp b/examples/common/scpi-def.cpp
index c69af2e..720318e 100644
--- a/examples/common/scpi-def.cpp
+++ b/examples/common/scpi-def.cpp
@@ -151,7 +151,7 @@
     SCPI_ChoiceToName(trigger_source, param, &name);
     fprintf(stderr, "\tP1=%s (%ld)\r\n", name, (long int)param);
 
-    SCPI_ResultInt(context, param);
+    SCPI_ResultInt32(context, param);
 
     return SCPI_RES_OK;
 }
@@ -197,7 +197,7 @@
  */
 scpi_result_t My_CoreTstQ(scpi_t * context) {
 
-    SCPI_ResultInt(context, 0);
+    SCPI_ResultInt32(context, 0);
 
     return SCPI_RES_OK;
 }

--
Gitblit v1.9.1