suever / pydicom-experimental

pydicom test
0 stars 1 forks source link

ReadFile fails on 64-bit systems #16

Closed suever closed 10 years ago

suever commented 10 years ago

From darcymason@gmail.com on October 03, 2008 20:17:14

dicom.ReadFile() fails with unpack running out of data on 64-bit systems.

Original issue: http://code.google.com/p/pydicom/issues/detail?id=15

suever commented 10 years ago

From darcymason@gmail.com on October 04, 2008 20:02:58

Added "=" to format string in struct.calcsize call to force "standard" sizes, which means 64-bit systems will still use the same as 32-bit systems. Other code already ok as ">" or "<" endian characters also force 'standard' size.

Status: Verified