home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.os.os2.programmer
- Path: sparky!uunet!noc.near.net!saturn.caps.maine.edu!gandalf!jurlwin
- From: jurlwin@gandalf.UMCS.Maine.EDU (Jeff Urlwin)
- Subject: Re: malloc() and swapper.dat problems ....
- Message-ID: <1993Jan12.025611.7172@gandalf.UMCS.Maine.EDU>
- Organization: University of Maine, Department of Computer Science
- References: <1993Jan10.200412.454149@sue.cc.uregina.ca> <1993Jan11.073220.6853@netcom.com>
- Date: Tue, 12 Jan 1993 02:56:11 GMT
- Lines: 19
-
- In article <1993Jan11.073220.6853@netcom.com> daveb@netcom.com (Dave Briccetti) writes:
- >malloc takes a "size_t" as an argument. Your argument is too big.
-
- Sorry. Not the case with a 32bit compiler. (size_t is unsigned int, thus
- possible values are in the range of 0..4,294,967,296 (inclusive)).
-
- The problem is not allocating enough space for all those integers to be
- scanned through.
-
- Jeff
- >
- >Dave Briccetti, Owner, Dave Briccetti & Associates
- >OS/2 Developer/Consultant
- >P.O. Box 1713
- >Lafayette, CA 94549-7013
- --
- --------------------------------------
- jurlwin@gandalf.umcs.maine.edu
-
-