mirror of
https://git.salome-platform.org/gitpub/modules/smesh.git
synced 2025-02-05 11:04:17 +05:00
Windows compatibility
This commit is contained in:
parent
ee0738fe56
commit
490e055ef1
@ -4896,7 +4896,7 @@ bool SMESH_Gen_i::LoadASCII( SALOMEDS::SComponent_ptr theComponent,
|
|||||||
_CORBA_Octet* buffer = new _CORBA_Octet[real_size];
|
_CORBA_Octet* buffer = new _CORBA_Octet[real_size];
|
||||||
char tmp[3];
|
char tmp[3];
|
||||||
tmp[2]='\0';
|
tmp[2]='\0';
|
||||||
uint c = -1;
|
unsigned int c = -1;
|
||||||
for ( int i = 0; i < real_size; i++ )
|
for ( int i = 0; i < real_size; i++ )
|
||||||
{
|
{
|
||||||
memcpy( &(tmp[0]), &(theStream[i*3+1]), 2 );
|
memcpy( &(tmp[0]), &(theStream[i*3+1]), 2 );
|
||||||
|
Loading…
Reference in New Issue
Block a user