mirror of
https://github.com/fadden/ciderpress.git
synced 2025-04-16 12:37:14 +00:00
Fix 64-bit math error
32-bit * 32-bit = 32-bit, so disk images with partitions whose size exceeded the capacity of a 32-bit int were coming out wrong. Updated version to 4.0.3-a1.
This commit is contained in:
parent
c2e3fb8353
commit
640959dad5
@ -4,8 +4,8 @@ faddenSoft
|
||||
http://www.faddensoft.com/
|
||||
CiderPress
|
||||
http://a2ciderpress.com/
|
||||
4.0.2
|
||||
43000
|
||||
4.0.3-a1
|
||||
43038
|
||||
C:\DATA\faddenSoft\fs.ico
|
||||
Copyright © 2017 CiderPress project authors. All rights reserved.
|
||||
C:\Src\CiderPress\DIST\ReadMe.txt
|
||||
@ -357,7 +357,7 @@ FALSE
|
||||
4095
|
||||
|
||||
|
||||
Setup402.exe
|
||||
Setup403-a1.exe
|
||||
|
||||
FALSE
|
||||
|
||||
|
@ -14,8 +14,8 @@
|
||||
/* CiderPress version numbers */
|
||||
#define kAppMajorVersion 4
|
||||
#define kAppMinorVersion 0
|
||||
#define kAppBugVersion 2
|
||||
#define kAppDevString L""
|
||||
#define kAppBugVersion 3
|
||||
#define kAppDevString L"-a1"
|
||||
|
||||
/*
|
||||
* Windows application object.
|
||||
|
@ -472,7 +472,7 @@ DIError DiskImg::OpenImage(DiskImg* pParent, long firstBlock, long numBlocks)
|
||||
* already have an open file with specific characteristics.
|
||||
*/
|
||||
//fOffset = pParent->fOffset + kBlockSize * firstBlock;
|
||||
fLength = numBlocks * kBlockSize;
|
||||
fLength = (di_off_t)numBlocks * kBlockSize;
|
||||
fOuterLength = fWrappedLength = fLength;
|
||||
fFileFormat = kFileFormatUnadorned;
|
||||
fPhysical = pParent->fPhysical;
|
||||
|
@ -45,7 +45,7 @@ namespace DiskImgLib {
|
||||
/* compiled-against versions; call DiskImg::GetVersion for linked-against */
|
||||
#define kDiskImgVersionMajor 5
|
||||
#define kDiskImgVersionMinor 0
|
||||
#define kDiskImgVersionBug 0
|
||||
#define kDiskImgVersionBug 1
|
||||
|
||||
|
||||
/*
|
||||
|
Loading…
x
Reference in New Issue
Block a user