Ignore:
Timestamp:
May 17, 2007, 8:06:04 PM (17 years ago)
Author:
NoWest
Message:

アドレス参照に対してポインタが渡されていたのを修正。

File:
1 edited

Legend:

Unmodified
Added
Removed
  • Include/Classes/System/IO/Stream.ab

    r248 r252  
    4949    Virtual Function ReadByte() As Long
    5050        Dim b As Byte
    51         Dim ret = Read(VarPtr(b), 0, 1)
     51        Dim ret = Read(b, 0, 1)
    5252        If ret <> 0 Then
    5353            Return b
     
    6262
    6363    Virtual Sub WriteByte(b As Byte)
    64         Write(VarPtr(b), 0, 1)
     64        Write(b, 0, 1)
    6565    End Sub
    6666Protected
Note: See TracChangeset for help on using the changeset viewer.