libprint: fix invalid use of long.
This commit is contained in:
@@ -11,10 +11,12 @@
|
||||
#include <Message.h>
|
||||
#include <Node.h>
|
||||
|
||||
#include <stdio.h>
|
||||
|
||||
// #define DBG
|
||||
|
||||
#ifdef DBG
|
||||
void write_debug_stream(const char *, ...);
|
||||
void write_debug_stream(const char *, ...) __PRINTFLIKE(1,2);
|
||||
void DUMP_BFILE(BFile *file, const char *name);
|
||||
void DUMP_BMESSAGE(BMessage *msg);
|
||||
void DUMP_BDIRECTORY(BDirectory *dir);
|
||||
|
||||
@@ -39,8 +39,8 @@ public:
|
||||
private:
|
||||
BFile *fFile;
|
||||
bool fReverse;
|
||||
int fPictureCount;
|
||||
int fRest;
|
||||
int32 fPictureCount;
|
||||
int32 fRest;
|
||||
off_t fOffset;
|
||||
bool fHollow;
|
||||
};
|
||||
@@ -49,7 +49,7 @@ typedef list<PageData *> PageDataList;
|
||||
|
||||
class SpoolData {
|
||||
public:
|
||||
SpoolData(BFile *file, int page_count, int nup, bool reverse);
|
||||
SpoolData(BFile *file, int32 page_count, int32 nup, bool reverse);
|
||||
~SpoolData();
|
||||
bool startEnum();
|
||||
bool enumObject(PageData **);
|
||||
|
||||
@@ -26,9 +26,9 @@ protected:
|
||||
|
||||
UIDriver& operator=(const UIDriver &);
|
||||
|
||||
virtual long PageSetup(JobData* jobData, PrinterData* printerData,
|
||||
virtual status_t PageSetup(JobData* jobData, PrinterData* printerData,
|
||||
const PrinterCap* printerCap);
|
||||
virtual long JobSetup(JobData* jobData, PrinterData* printerData,
|
||||
virtual status_t JobSetup(JobData* jobData, PrinterData* printerData,
|
||||
const PrinterCap* printerCap);
|
||||
|
||||
private:
|
||||
|
||||
Reference in New Issue
Block a user