Skip to content

Commit

Permalink
Fix ancient bad merge from trunk
Browse files Browse the repository at this point in the history
  • Loading branch information
wsfulton committed Jun 26, 2014
1 parent 0ebe64c commit daab0d7
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Examples/test-suite/special_variable_macros.i
Expand Up @@ -127,7 +127,7 @@ const char * testJames(Name *james) {
%{
/*%typemap(in) (Name *multiname, int num) start */
temp_name = $*1_ltype("multiname num");
temp_count = strlen(temp_name.getNamePtr()->getName());
temp_count = (int)strlen(temp_name.getNamePtr()->getName());
(void)$input;
$1 = temp_name.getNamePtr();
$2 = temp_count + 100;
Expand All @@ -142,7 +142,7 @@ $typemap(in, (Name *multiname, int num))

%inline %{
const char * testJim(Name *jim, int count) {
if (count != strlen(jim->getNamePtr()->getName()) + 100)
if (count != (int)strlen(jim->getNamePtr()->getName()) + 100)
return "size check failed";
else
return jim->getName();
Expand Down

0 comments on commit daab0d7

Please sign in to comment.