I copied it verbatim from my source, idk why you would need to make it a long, until it's larger number wise then an int can get to.

----- Original Message ----- From: "Valnir" <[EMAIL PROTECTED]>
To: <[email protected]>
Sent: Saturday, August 07, 2004 2:05 PM
Subject: Re: alloc_mem


can I leave everything as 'int' or do I need to change anything to 'long'?

- Valnir

----- Original Message ----- From: "Dale Kingston" <[EMAIL PROTECTED]>
To: "Valnir" <[EMAIL PROTECTED]>; <[email protected]>
Sent: Saturday, August 07, 2004 3:46 PM
Subject: Re: alloc_mem


Thats easy alloc_mem uses:
const int  rgSizeList [MAX_MEM_LIST]

To tell what size memory blocks it can allocate. So increase MAX_MEM_LIST
by
one, and then at the end of the list add:

65536

Should allow you to work fine
----- Original Message ----- From: "Valnir" <[EMAIL PROTECTED]>
To: <[email protected]>
Sent: Saturday, August 07, 2004 11:22 AM
Subject: alloc_mem


> Ok. I have a problem where I am overflowing my BUFFER because it is
> actually
> exceeding the 32k limit. I know how to change what the BUFFER can go > to,
> but
> is there an easy way to change the limit on 'alloc_mem' and all the
> related
> functions? I think 64k would be more than sufficient, but a 1000 room
> rlist
> gets a little big for 32k!
>
> - Valnir
>
>
>
> -- > ROM mailing list
> [email protected]
> http://www.rom.org/cgi-bin/mailman/listinfo/rom





--
ROM mailing list
[email protected]
http://www.rom.org/cgi-bin/mailman/listinfo/rom


Reply via email to