[Vm-dev] [OpenSmalltalk/opensmalltalk-vm] b027b3: Fix interpreterProxy prototype for positive32BitIn...

GitHub noreply at github.com
Fri Jul 22 07:15:10 UTC 2016

  Branch: refs/heads/Cog
  Home:   https://github.com/OpenSmalltalk/opensmalltalk-vm
  Commit: b027b3a74d1de3068867856446ebc2246a8cb170
  Author: Nicolas Cellier <nicolas.cellier at sirehna.com>
  Date:   2016-07-22 (Fri, 22 Jul 2016)

  Changed paths:
    M platforms/Cross/vm/sqVirtualMachine.c
    M platforms/Cross/vm/sqVirtualMachine.h

  Log Message:
  Fix interpreterProxy prototype for positive32BitIntegerFor()

The parameter has been switched to 'unsigned int' for a while in VMMaker.oscog branch.
Declaring sqInt is not compatible with 64 bits image plugins, and generates a C Compiler warning.

I suspect the warning to be false positive, because we copy function address, and the one we use has correct prototype.
Correct  prototype definition will avoid relying on such hypothesis :)

More information about the Vm-dev mailing list