From aa03cdc4057ea720ea301651288846f740238d28 Mon Sep 17 00:00:00 2001
From: Chris Pavlina <cpavlin1@binghamton.edu>
Date: 周五, 12 12月 2014 17:55:59 +0800
Subject: [PATCH] Fixed type warning

---
 libscpi/src/units.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/libscpi/src/units.c b/libscpi/src/units.c
index 958b61e..ac0a0bb 100644
--- a/libscpi/src/units.c
+++ b/libscpi/src/units.c
@@ -37,7 +37,7 @@
 #include <string.h>
 #include "scpi/parser.h"
 #include "scpi/units.h"
-#include "utils.h"
+#include "scpi/utils_private.h"
 #include "scpi/error.h"
 
 
@@ -109,7 +109,7 @@
     {/* name */ "UP",           /* type */ SCPI_NUM_UP},
     {/* name */ "DOWN",         /* type */ SCPI_NUM_DOWN},
     {/* name */ "NAN",          /* type */ SCPI_NUM_NAN},
-    {/* name */ "INF",          /* type */ SCPI_NUM_INF},
+    {/* name */ "INFinity",     /* type */ SCPI_NUM_INF},
     {/* name */ "NINF",         /* type */ SCPI_NUM_NINF},
     SCPI_SPECIAL_NUMBERS_LIST_END,
 };

--
Gitblit v1.9.1