[MINC-users] Minc 1.5.1 64-bit compatibility bug
Claude LEPAGE
claude at bic.mni.mcgill.ca
Tue Jul 22 14:38:17 EDT 2008
Alex,
See my previous post.
>
> I forgot the "easy" fix:
>
> case ARGV_CONSTANT:
> *((int *) infoPtr->dst) = *((int*)(&infoPtr->src));
> break;
>
> Becomes:
>
> case ARGV_CONSTANT:
> *((long *) infoPtr->dst) = *((long*)(&infoPtr->src));
> break;
MI_PET = "PET__" (5bytes + 1byte for \0)
The above will get you 8 bytes (and the full string), but should clobber
the infoPtr->help key follwing src in the struct.
Use ARGV_STRING.
Claude
More information about the MINC-users
mailing list