Changes between Version 29 and Version 30 of HashSourceCodes


Ignore:
Timestamp:
07/29/2010 10:32:05 AM (14 years ago)
Author:
Hacked
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • HashSourceCodes

    v29 v30  
    10891089                [UInt64]$lhash = $stream.Length
    10901090                $lhash = LongSum $lhash (StreamHash $stream)
    1091                 $stream.Position = [Math]::Max(0, $stream.Length - $dataLength)
     1091                $stream.Position = [Math]::Max(0L, $stream.Length - $dataLength)
    10921092                $lhash = LongSum $lhash (StreamHash $stream)
    10931093                "{0:X}" -f $lhash