Ignore:
Timestamp:
2010-12-17T14:04:10+13:00 (13 years ago)
Author:
sjm84
Message:

Committing 64 bit changes into the branch

File:
1 edited

Legend:

Unmodified
Added
Removed
  • main/branches/64_bit_Greenstone/greenstone2/common-src/indexers/mgpp/lib/bitio_m_stdio.h

    r16583 r23508  
    3333
    3434#include "bitio_m_abstract.h"
    35 
     35#include "mglong.h"
    3636
    3737class stdio_bitio_buffer : public bitio_buffer {
     
    4040  unsigned char buffer;
    4141  unsigned char btg;
    42   unsigned long bytesWritten;
     42  mg_u_long bytesWritten;
    4343 
    4444public:
     
    4848
    4949  unsigned char GetBtg () { return btg; }
    50   unsigned long GetBytesWritten () { return bytesWritten; }
     50  mg_u_long GetBytesWritten () { return bytesWritten; }
    5151 
    52   void seek (unsigned long byte, unsigned char bit);
    53   void seek (unsigned long topos);
     52  void seek (u_int byte, unsigned char bit);
     53  void seek (mg_u_long topos);
    5454  void error();
    55   long add00(long b);
    56   long addff(long b);
     55  mg_s_long add00(mg_s_long b);
     56  mg_s_long addff(mg_s_long b);
    5757  int  bit();
    5858  int  bitOffset() { return btg; }
Note: See TracChangeset for help on using the changeset viewer.