From 98e8a52edfc374c2f3dfff44a95e16db9d8e8616 Mon Sep 17 00:00:00 2001 From: Assar Westerlund Date: Sun, 10 Dec 2000 23:10:48 +0000 Subject: [PATCH] s/u_int32_t/unsigned/ for systems that do not define u_int32_t git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@9340 ec53bebd-3082-4978-b11e-865c3cabbd6b --- lib/roken/vis.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/roken/vis.c b/lib/roken/vis.c index 1c6c6338f..a37390603 100644 --- a/lib/roken/vis.c +++ b/lib/roken/vis.c @@ -154,8 +154,8 @@ do { \ if (isc) break; \ if (isextra || ((c & 0177) == ' ') || (flag & VIS_OCTAL)) { \ *dst++ = '\\'; \ - *dst++ = (u_char)(((u_int32_t)(u_char)c >> 6) & 03) + '0'; \ - *dst++ = (u_char)(((u_int32_t)(u_char)c >> 3) & 07) + '0'; \ + *dst++ = (u_char)(((unsigned)(u_char)c >> 6) & 03) + '0'; \ + *dst++ = (u_char)(((unsigned)(u_char)c >> 3) & 07) + '0'; \ *dst++ = (c & 07) + '0'; \ } else { \ if ((flag & VIS_NOSLASH) == 0) *dst++ = '\\'; \