--- libaitrpc/src/builtin.c 2011/09/07 00:30:04 1.3.2.9 +++ libaitrpc/src/builtin.c 2011/09/07 00:47:14 1.3.2.10 @@ -3,7 +3,7 @@ * by Michael Pounov * * $Author: misho $ -* $Id: builtin.c,v 1.3.2.9 2011/09/07 00:30:04 misho Exp $ +* $Id: builtin.c,v 1.3.2.10 2011/09/07 00:47:14 misho Exp $ * ************************************************************************** The ELWIX and AITNET software is distributed under the following @@ -253,7 +253,7 @@ rpcBLOBServerVars(rpc_func_t *call, int ic, array_t *i for (b = srv->srv_blob.blobs, i = 0; b; i++, b = b->blob_next) { memset(str, 0, sizeof str); - snprintf(str, sizeof str, "0x%0X(%lu)=%p ", b->blob_var, b->blob_len, b->blob_data); + snprintf(str, sizeof str, "0x%0X(%lu)=%p ", b->blob_var, (u_long) b->blob_len, b->blob_data); strlcat(val, str, len); }