[trivial PATCH 04/22] [print.c] eliminate build warnings

Wang Tinggong wangtinggong at gmail.com
Mon Feb 1 18:25:10 CET 2010


Signed-off-by: Wang Tinggong <wangtinggong at gmail.com>
---
 src/lib/print.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/src/lib/print.c b/src/lib/print.c
index e122a74..fe7da1d 100644
--- a/src/lib/print.c
+++ b/src/lib/print.c
@@ -35,7 +35,7 @@ RCSID("$Id$")
  *	Note that we don't care about the length of the input string,
  *	because '\0' is an invalid UTF-8 character.
  */
-int fr_utf8_char(const uint8_t *str)
+unsigned int fr_utf8_char(const uint8_t *str)
 {
 	if (*str < 0x20) return 0;
 
-- 
1.6.0.6



More information about the Freeradius-Devel mailing list