diff options
author | Kevin B Kenny <kennykb@acm.org> | 2011-03-13 22:42:24 (GMT) |
---|---|---|
committer | Kevin B Kenny <kennykb@acm.org> | 2011-03-13 22:42:24 (GMT) |
commit | 0a9ebb59aa6d8860fa7742391c4e00fd7d943aa9 (patch) | |
tree | 4f7d103c464bde929ac0961bcb9ee72be86a0261 /generic/tclAssembly.c | |
parent | 18876f80228a360c38e2859ee506fbeea2131ecd (diff) | |
download | tcl-0a9ebb59aa6d8860fa7742391c4e00fd7d943aa9.zip tcl-0a9ebb59aa6d8860fa7742391c4e00fd7d943aa9.tar.gz tcl-0a9ebb59aa6d8860fa7742391c4e00fd7d943aa9.tar.bz2 |
* generic/tclAssembly.c (BBEmitInstInt1): Changed parameter
data types in an effort to silence a MSVC warning reported by
Ashok P. Nadkarni. Unable to test, since both forms work on
my machine in VC2005, 2008. 2010, in both release and debug
builds.
* tests/tclTest.c (TestdstringCmd): Restored MSVC buildability
broken by [5574bdd262], which changed the effective return type
of 'ckalloc' from 'char*' to 'void*'.
Diffstat (limited to 'generic/tclAssembly.c')
-rw-r--r-- | generic/tclAssembly.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/generic/tclAssembly.c b/generic/tclAssembly.c index 45756eb..754941f 100644 --- a/generic/tclAssembly.c +++ b/generic/tclAssembly.c @@ -241,7 +241,7 @@ static void BBAdjustStackDepth(BasicBlock* bbPtr, int consumed, static void BBUpdateStackReqs(BasicBlock* bbPtr, int tblIdx, int count); static void BBEmitInstInt1(AssemblyEnv* assemEnvPtr, int tblIdx, - unsigned char opnd, int count); + int opnd, int count); static void BBEmitInstInt4(AssemblyEnv* assemEnvPtr, int tblIdx, int opnd, int count); static void BBEmitInst1or4(AssemblyEnv* assemEnvPtr, int tblIdx, @@ -652,7 +652,7 @@ static void BBEmitInstInt1( AssemblyEnv* assemEnvPtr, /* Assembly environment */ int tblIdx, /* Index in TalInstructionTable of op */ - unsigned char opnd, /* 1-byte operand */ + int opnd, /* 1-byte operand */ int count) /* Operand count for variadic ops */ { BBEmitOpcode(assemEnvPtr, tblIdx, count); |