From d79496358dbb81bb5eb16a49ea6b5d2cdc2f8714 Mon Sep 17 00:00:00 2001
From: Andrey Nakin <andrey.nakin@gmail.com>
Date: 周六, 18 4月 2015 20:46:41 +0800
Subject: [PATCH] Merge branch 'master' of https://github.com/j123b567/scpi-parser

---
 libscpi/src/debug.c |    5 ++---
 1 files changed, 2 insertions(+), 3 deletions(-)

diff --git a/libscpi/src/debug.c b/libscpi/src/debug.c
index 1a9de52..832bd93 100644
--- a/libscpi/src/debug.c
+++ b/libscpi/src/debug.c
@@ -35,7 +35,6 @@
  */
 
 #include <stdio.h>
-#include <inttypes.h>
 #include "scpi/debug.h"
 
 /**
@@ -43,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("\" - %" PRIu32 "\r\n", (uint32_t)context->paramlist.length);
+        printf("\" - %lu\r\n", (unsigned long)context->paramlist.length);
 	
 	return TRUE;
 }

--
Gitblit v1.9.1