summaryrefslogtreecommitdiff
path: root/sysutils/xentools20/patches/patch-ba
blob: 9aaa0b697ccf4476980f2b6d7eca136cdca57beb (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
$NetBSD: patch-ba,v 1.1 2006/11/22 00:12:34 seb Exp $

--- xfrd/xdr.c.orig	2005-08-03 23:57:58.000000000 +0000
+++ xfrd/xdr.c
@@ -283,7 +283,7 @@ int unpack_sxpr(IOStream *io, Sxpr *x){
         err = unpack_cons(io, &val);
         break;
     case T_BOOL:
-        err = unpack_bool(io, &u);
+        err = unpack_bool(io, (int *)&u);
         if(err) goto exit;
         val = (u ? OTRUE : OFALSE);
         break;