diff options
author | Reuben Thomas <rrt@sc3d.org> | 2006-05-16 12:50:44 +0000 |
---|---|---|
committer | Reuben Thomas <rrt@sc3d.org> | 2006-05-16 12:50:44 +0000 |
commit | f2928be2471d42df6cc5c9537fc532c3f1a2a941 (patch) | |
tree | a53badc373b3d21ce94f7c9dc2d013658cf94cde /sisinstall | |
parent | 162bfcd5a1975207d4a0c102f4cb54d2cc602f79 (diff) | |
download | plptools-f2928be2471d42df6cc5c9537fc532c3f1a2a941.tar.gz plptools-f2928be2471d42df6cc5c9537fc532c3f1a2a941.tar.bz2 plptools-f2928be2471d42df6cc5c9537fc532c3f1a2a941.zip |
Fix types
Diffstat (limited to 'sisinstall')
-rw-r--r-- | sisinstall/sisinstaller.cpp | 10 |
1 files changed, 4 insertions, 6 deletions
diff --git a/sisinstall/sisinstaller.cpp b/sisinstall/sisinstaller.cpp index aed67f0..9284a29 100644 --- a/sisinstall/sisinstaller.cpp +++ b/sisinstall/sisinstaller.cpp @@ -1,4 +1,3 @@ - #include "sisinstaller.h" #include "sisfile.h" @@ -453,7 +452,7 @@ SisRC SISInstaller::run(SISFile* file, uint8_t* buf, off_t len, SISFile* parent) { int n; - int lang; + long lang; m_file = file; m_buf = buf; #if HAVE_LIBNEWT @@ -515,7 +514,7 @@ SISInstaller::run(SISFile* file, uint8_t* buf, off_t len, SISFile* parent) newtFormAddComponent(form, text); newtFormAddComponent(form, listbox); newtRunForm(form); - lang = (int)newtListboxGetCurrent(listbox); + lang = (long)newtListboxGetCurrent(listbox); newtFormDestroy(form); newtPopWindow(); } @@ -580,7 +579,7 @@ SISInstaller::run(SISFile* file, uint8_t* buf, off_t len, SISFile* parent) // Check previous version. // if (logLevel >= 1) - fprintf(stderr, + fprintf(stderr, "Checking if this app (uid %08x) exists with a version less than %d.%d.\n", m_file->m_header.m_uid1, m_file->m_header.m_major, @@ -802,7 +801,7 @@ SISInstaller::selectDrive() newtFormAddComponent(form, text); newtFormAddComponent(form, listbox); newtRunForm(form); - m_drive = 'A' + (int)newtListboxGetCurrent(listbox); + m_drive = 'A' + (long)newtListboxGetCurrent(listbox); newtFormDestroy(form); newtPopWindow(); } @@ -910,4 +909,3 @@ SISInstaller::uninstallFile(SISFileRecord* fileRecord) } } } - |