Changeset 617 for trunk/ab5.0


Ignore:
Timestamp:
Aug 25, 2008, 12:41:54 AM (16 years ago)
Author:
dai
Message:

64bitビルドするとキャスト警告になるため、As指定を行った。

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/ab5.0/ablib/src/Classes/System/IO/MemoryStream.ab

    r605 r617  
    185185    Virtual Function Capacity() As Long
    186186        If This.pointer = 0 Then Throw New ObjectDisposedException("MemoryStream: This stream has closed.")
    187         Return This.size(This.pointer)
     187        Return This.size(This.pointer) As Long
    188188    End Function
    189189
     
    405405    End Function
    406406
    407     Function size(p As VoidPtr) As Long
     407    Function size(p As VoidPtr) As SIZE_T
    408408#ifdef NOT_USE_GC
    409409        Return HeapSize(This.handle,0,p)
Note: See TracChangeset for help on using the changeset viewer.