summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAntoine ELIAS <antoine.elias@scilab-enterprises.com>2016-11-10 08:37:49 +0100
committerAntoine ELIAS <antoine.elias@scilab-enterprises.com>2016-11-10 08:37:49 +0100
commit3d8ec6767b298fa5ff3f9b15a0303df6bdfaf2b3 (patch)
tree7794a6ef2e6517581fb873637fe08fac6773f93a
parent0a1292244cdd945afb0d1e6ec8df91bc941282f8 (diff)
downloadscilab-3d8ec6767b298fa5ff3f9b15a0303df6bdfaf2b3.zip
scilab-3d8ec6767b298fa5ff3f9b15a0303df6bdfaf2b3.tar.gz
utf: mex 2
Change-Id: I1cbf06a7688d4fd3ec0a63c7e1a08f99bab7198f
-rw-r--r--scilab/modules/mexlib/src/cpp/mexlib.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/scilab/modules/mexlib/src/cpp/mexlib.cpp b/scilab/modules/mexlib/src/cpp/mexlib.cpp
index 4a4eef6..1a5844e 100644
--- a/scilab/modules/mexlib/src/cpp/mexlib.cpp
+++ b/scilab/modules/mexlib/src/cpp/mexlib.cpp
@@ -682,7 +682,7 @@ int mxGetElementSize(const mxArray *ptr)
682{ 682{
683 if (mxIsChar(ptr)) 683 if (mxIsChar(ptr))
684 { 684 {
685 return sizeof(wchar_t*); 685 return sizeof(char*);
686 } 686 }
687 else if (mxIsLogical(ptr)) 687 else if (mxIsLogical(ptr))
688 { 688 {