Fix for VC++
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8548 626c5289-ae23-0410-ae9c-e8d60b6d4f22
This commit is contained in:
parent
d9b9f27ec6
commit
a27f850313
1 changed files with 2 additions and 2 deletions
|
|
@ -240,7 +240,7 @@ namespace std {
|
|||
for (int i=0; i<len; i++) {
|
||||
tv = av_fetch(av, i, 0);
|
||||
if (CHECK_T(*tv)) {
|
||||
$1.push_back(TO_T(*tv));
|
||||
$1.push_back((T)TO_T(*tv));
|
||||
} else {
|
||||
SWIG_croak("Type error in argument $argnum of "
|
||||
"$symname. "
|
||||
|
|
@ -269,7 +269,7 @@ namespace std {
|
|||
for (int i=0; i<len; i++) {
|
||||
tv = av_fetch(av, i, 0);
|
||||
if (CHECK_T(*tv)) {
|
||||
temp.push_back(TO_T(*tv));
|
||||
temp.push_back((T)TO_T(*tv));
|
||||
} else {
|
||||
SWIG_croak("Type error in argument $argnum of "
|
||||
"$symname. "
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue