Re: Is there heap size limitaion?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



> int **table1=malloc(10000000*sizeof(int));
Replace sizeof(int) with sizeof(int *). They are equal on m32 but not
on the m64.

Alexey

[Index of Archives]     [Linux C Programming]     [Linux Kernel]     [eCos]     [Fedora Development]     [Fedora Announce]     [Autoconf]     [The DWARVES Debugging Tools]     [Yosemite Campsites]     [Yosemite News]     [Linux GCC]

  Powered by Linux