Mantis - Squeak
Viewing Issue Advanced Details
7835 VM major always 09-27-15 16:40 04-06-18 22:58
lewis  
lewis  
normal  
confirmed  
fixed  
none    
none  
0007835: vm-sound-NAS needs updates for 64 bit
This Unix VM sound driver has compile errors on 64-bit host, needs updates to platforms/unix/vm-sound-NAS/sqUnixSoundNAS.c

Reported by Ken Dickey on vm-dev http://lists.squeakfoundation.org/pipermail/vm-dev/2015-September/019470.html [^]

Notes
(0014618)
nicolas cellier   
04-06-18 22:58   
I don't know if it has compile errors, but current version does pretty bad things...

line 524: static sqInt sound_RecordSamplesIntoAtLength(int buf, int startSliceIndex,
...
line 557: (char *) (buf + startSliceIndex*sliceSize),

Making a pointer out of an int hasn't been correct since maybe Kernighan and Ritchie...

https://github.com/OpenSmalltalk/opensmalltalk-vm/blob/Cog/platforms/unix/vm-sound-NAS/sqUnixSoundNAS.c [^]