Author Topic: USE_32BIT_ADDRESSES  (Read 2787 times)

Kalinash

  • Guest
USE_32BIT_ADDRESSES
« on: January 20, 2010, 01:02:36 pm »
This is broken in the current Fluff (See Quix's thread) and here's the diff that fixes it.  Please consider it for 2.20 Wodan :)

Code: [Select]
diff ds3.0/fluffos-2.18-ds07/generate.c ds3.0.fixed/fluffos-2.18-ds07/generate.c
446c446
< short
---
> ADDRESS_TYPE
448c448
<     short where = CURRENT_PROGRAM_SIZE;
---
>     ADDRESS_TYPE where = CURRENT_PROGRAM_SIZE;
481,482c481,482
< short generate_function (function_t * f, parse_node_t * node, int num) {
<     short ret;
---
> ADDRESS_TYPE generate_function (function_t * f, parse_node_t * node, int num) {
>     ADDRESS_TYPE ret;
diff ds3.0/fluffos-2.18-ds07/generate.h ds3.0.fixed/fluffos-2.18-ds07/generate.h
16,17c16,17
< short generate (parse_node_t *);
< short generate_function (function_t *, parse_node_t *, int);
---
> ADDRESS_TYPE generate (parse_node_t *);
> ADDRESS_TYPE generate_function (function_t *, parse_node_t *, int);

Offline wodan

  • BFF
  • ***
  • Posts: 434
  • Drink and code, you know you want to!
    • View Profile
Re: USE_32BIT_ADDRESSES
« Reply #1 on: April 15, 2010, 08:25:35 am »
It's in 2.20

which might actually get done this weekend as I have no internet! (of course you won't get it until I get the intarwebs again)