summaryrefslogtreecommitdiffstats
path: root/scilab/modules/api_scilab
diff options
context:
space:
mode:
authorantoine ELIAS <antoine.elias@scilab.org>2010-01-22 14:30:46 +0100
committerantoine ELIAS <antoine.elias@scilab.org>2010-01-22 14:30:46 +0100
commit569b6dd8d5ce27e716b26784edbcb73e37d50c92 (patch)
tree20e6d31d0cfedc3cc2579f6b38db7be2b79b6838 /scilab/modules/api_scilab
parent06c8700e46dda6c0a7dba57e82f476be0e9d07ae (diff)
downloadscilab-569b6dd8d5ce27e716b26784edbcb73e37d50c92.zip
scilab-569b6dd8d5ce27e716b26784edbcb73e37d50c92.tar.gz
createMatrixOfUnsignedInteger32 now creates good type of variable ( bug 6488 )
Diffstat (limited to 'scilab/modules/api_scilab')
-rw-r--r--scilab/modules/api_scilab/src/cpp/api_int.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/scilab/modules/api_scilab/src/cpp/api_int.cpp b/scilab/modules/api_scilab/src/cpp/api_int.cpp
index b1449eb..5ccbd65 100644
--- a/scilab/modules/api_scilab/src/cpp/api_int.cpp
+++ b/scilab/modules/api_scilab/src/cpp/api_int.cpp
@@ -354,7 +354,7 @@ SciErr allocMatrixOfUnsignedInteger32(void* _pvCtx, int _iVar, int _iRows, int _
354 354
355 getNewVarAddressFromPosition(_pvCtx, iNewPos, &piAddr); 355 getNewVarAddressFromPosition(_pvCtx, iNewPos, &piAddr);
356 356
357 sciErr = allocCommonMatrixOfInteger(_pvCtx, _iVar, piAddr, SCI_INT32, _iRows, _iCols, (void**)&puiData32); 357 sciErr = allocCommonMatrixOfInteger(_pvCtx, _iVar, piAddr, SCI_UINT32, _iRows, _iCols, (void**)&puiData32);
358 if(sciErr.iErr) 358 if(sciErr.iErr)
359 { 359 {
360 addErrorMessage(&sciErr, API_ERROR_CREATE_INT, _("%s: Unable to create variable in Scilab memory"), "allocMatrixOfUnsignedInteger32"); 360 addErrorMessage(&sciErr, API_ERROR_CREATE_INT, _("%s: Unable to create variable in Scilab memory"), "allocMatrixOfUnsignedInteger32");