From 6faf377b5305f9dcc3c7b013c4d67f5accb92617 Mon Sep 17 00:00:00 2001 From: Nathan Binkert Date: Thu, 4 Jun 2009 23:21:12 -0700 Subject: types: clean up types, especially signed vs unsigned --- src/sim/init.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/sim/init.cc') diff --git a/src/sim/init.cc b/src/sim/init.cc index 1e90f1568..8057c9369 100644 --- a/src/sim/init.cc +++ b/src/sim/init.cc @@ -118,7 +118,7 @@ getCode(const EmbeddedPyModule *pymod) pymod->zlen); if (ret != Z_OK) panic("Could not uncompress code: %s\n", zError(ret)); - assert(unzlen == pymod->mlen); + assert(unzlen == (uLongf)pymod->mlen); return PyMarshal_ReadObjectFromString((char *)marshalled, pymod->mlen); } -- cgit v1.2.3