Text archives Help
- From: thiago@sci.utah.edu
- To: manta@sci.utah.edu
- Subject: [MANTA] r426 - trunk/Model/Readers/rply
- Date: Fri, 8 Jul 2005 16:45:33 -0600 (MDT)
Author: thiago
Date: Fri Jul 8 16:45:32 2005
New Revision: 426
Modified:
trunk/Model/Readers/rply/rply.c
Log:
fixed bug where binary ply files could not be loaded under 64 bit machines. I
have no idea why they original author was using a long to describe an int32...
Modified: trunk/Model/Readers/rply/rply.c
==============================================================================
--- trunk/Model/Readers/rply/rply.c (original)
+++ trunk/Model/Readers/rply/rply.c Fri Jul 8 16:45:32 2005
@@ -1055,14 +1055,14 @@
}
static int ibinary_int32(p_ply ply, double *value) {
- long int32;
+ int int32;
if (!ply->idriver->ichunk(ply, &int32, sizeof(int32))) return 0;
*value = int32;
return 1;
}
static int ibinary_uint32(p_ply ply, double *value) {
- unsigned long uint32;
+ unsigned int uint32;
if (!ply->idriver->ichunk(ply, &uint32, sizeof(uint32))) return 0;
*value = uint32;
return 1;
- [MANTA] r426 - trunk/Model/Readers/rply, thiago, 07/08/2005
Archive powered by MHonArc 2.6.16.