Fixes for 32bit compile

This commit is contained in:
Deon George
2013-07-19 14:19:03 +10:00
committed by Deon George
parent b60f0934f5
commit f7dc4c18d4
4 changed files with 6 additions and 6 deletions

View File

@@ -22,9 +22,9 @@ extern dsInt16_t tsm_queryfile(dsUint32_t sesshandle, dsmObjName *objName, char
* Our Callback to show what is in TSM
*/
int tsm_listfile_cb(dsmQueryType qType, DataBlk *qResp, void *userdata) {
char stor[1]="?";
char state[2]="??";
char ced[3]="---";
char stor[2];
char state[3];
char ced[4];
qryRespBackupData respBackup;
qryRespArchiveData respArchive;

View File

@@ -127,7 +127,7 @@ int tsm_regfs(dsUint32_t dsmHandle, char *fsname) {
}
/* Send data to TSM for storage */
int tsm_sendfile(dsUint32_t dsmHandle, char *fsname, char *filename, off_t length, char *description, dsmSendType sendtype, char verbose) {
int tsm_sendfile(dsUint32_t dsmHandle, char *fsname, char *filename, long long length, char *description, dsmSendType sendtype, char verbose) {
char *buffer;
dsInt16_t rc=0;
dsmObjName objName;