~ubuntu-branches/ubuntu/lucid/unrar-nonfree/lucid

« back to all changes in this revision

Viewing changes to archive.cpp

  • Committer: Bazaar Package Importer
  • Author(s): Martin Meredith
  • Date: 2009-06-06 17:46:05 UTC
  • mfrom: (1.1.11 upstream) (5.1.5 sid)
  • Revision ID: james.westby@ubuntu.com-20090606174605-h4ciqxlpy39jmjx0
Tags: 1:3.9.3-1
* New upstream release
* Updated Copyright file (Closes: #531432)

Show diffs side-by-side

added added

removed removed

Lines of Context:
132
132
  else
133
133
  {
134
134
    Array<char> Buffer(MAXSFXSIZE);
135
 
    long CurPos=int64to32(Tell());
 
135
    long CurPos=(long)Tell();
136
136
    int ReadSize=Read(&Buffer[0],Buffer.Size()-16);
137
137
    for (int I=0;I<ReadSize;I++)
138
138
      if (Buffer[I]==0x52 && IsSignature((byte *)&Buffer[I]))
204
204
  if (!SilentOpen || !Encrypted)
205
205
  {
206
206
    SaveFilePos SavePos(*this);
207
 
    Int64 SaveCurBlockPos=CurBlockPos,SaveNextBlockPos=NextBlockPos;
 
207
    int64 SaveCurBlockPos=CurBlockPos,SaveNextBlockPos=NextBlockPos;
208
208
 
209
209
    NotFirstVolume=false;
210
 
    while (ReadHeader())
 
210
    while (ReadHeader()!=0)
211
211
    {
212
212
      int HeaderType=GetHeaderType();
213
213
      if (HeaderType==NEWSUB_HEAD)