Changeset 19814


Ignore:
Timestamp:
11/25/15 14:35:14 (9 years ago)
Author:
Eric.Larour
Message:

CHG: don't read unint32, rather int32!

File:
1 edited

Legend:

Unmodified
Added
Removed
  • TabularUnified issm/trunk-jpl/src/m/io/fileptr.js ΒΆ

    r19810 r19814  
    9898                        if(format == 'int'){
    9999                                if(size==1){
    100                                         value=this.view.getUint32(this.ptr,true);
     100                                        value=this.view.getInt32(this.ptr,true);
    101101                                        this.ptr+=4;
    102102                                }
    103103                                else{
    104                                         value = new Uint32Array(size);
     104                                        value = new Int32Array(size);
    105105                                        for(var i=0;i<size;i++){
    106                                                 value[i]=this.view.getUint32(this.ptr,true);
     106                                                value[i]=this.view.getInt32(this.ptr,true);
    107107                                                this.ptr+=4;
    108108                                        }
Note: See TracChangeset for help on using the changeset viewer.