delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1999/09/28/22:25:41

From: DavMac AT iname DOT com (Davin McCall)
Newsgroups: comp.os.msdos.djgpp
Subject: Re: Program too large?
Date: Wed, 29 Sep 1999 01:49:50 GMT
Organization: Monash Uni
Lines: 17
Distribution: world
Message-ID: <37f16fa7.1492264@newsserver.cc.monash.edu.au>
References: <Pine DOT SUN DOT 3 DOT 91 DOT 990928092947 DOT 17309E-100000 AT is> <7sqj96$kee$1 AT news8 DOT svr DOT pol DOT co DOT uk> <7sqp0b$mtb$1 AT solomon DOT cs DOT rose-hulman DOT edu> <7srlju$65r$1 AT news6 DOT svr DOT pol DOT co DOT uk>
NNTP-Posting-Host: damcc5.halls.monash.edu.au
X-Trace: towncrier.cc.monash.edu.au 938569765 13619 130.194.198.138 (29 Sep 1999 01:49:25 GMT)
X-Complaints-To: abuse AT monash DOT edu DOT au
NNTP-Posting-Date: 29 Sep 1999 01:49:25 GMT
X-Newsreader: Forte Free Agent 1.1/32.230
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp
Reply-To: djgpp AT delorie DOT com

Use "%ld". Incidentally, this *is* in the docs...

Davin.

On Wed, 29 Sep 1999 00:56:23 +0100, "Tom Morton"
<tmorton AT yikesstation DOT freeserve DOT co DOT uk> wrote:

>BTW any way of avoiding warnings associated with
>
>sprintf(buffer, "%d", long integer);
>
>It reports that format should be integer and not long but works fine
>with long.

__________________________________________________________
       *** davmac - sharkin'!! davmac AT iname DOT com ***
my programming page: http://yoyo.cc.monash.edu.au/~davmac/

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019