From f275a91132d30c7f558079017c97d33a01758059 Mon Sep 17 00:00:00 2001 From: Jan Breuer <jan.breuer@jaybee.cz> Date: 周六, 18 4月 2015 17:02:13 +0800 Subject: [PATCH] Export matchCommand by SCPI_Match - resolve #30 --- libscpi/src/debug.c | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/libscpi/src/debug.c b/libscpi/src/debug.c index bec35e0..832bd93 100644 --- a/libscpi/src/debug.c +++ b/libscpi/src/debug.c @@ -42,12 +42,12 @@ * @param context * @return */ -bool_t SCPI_DebugCommand(scpi_t * context) { +scpi_bool_t SCPI_DebugCommand(scpi_t * context) { size_t res; printf("**DEBUG: %s (\"", context->paramlist.cmd->pattern); res = fwrite(context->paramlist.parameters, 1, context->paramlist.length, stdout); (void)res; - printf("\" - %ld\r\n", (uint32_t)context->paramlist.length); + printf("\" - %lu\r\n", (unsigned long)context->paramlist.length); return TRUE; } -- Gitblit v1.9.1