delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2000/06/13/08:32:51

Message-ID: <008501bfd532$7aee9380$de0f3acb@default>
From: "Alastair Hogge" <al_ AT tpg DOT com DOT au>
To: "DJGPP" <djgpp AT delorie DOT com>
Subject: conversion specifier.
Date: Tue, 13 Jun 2000 22:25:34 +1000
MIME-Version: 1.0
X-Priority: 3
X-MSMail-Priority: Normal
X-Mailer: Microsoft Outlook Express 5.00.2314.1300
X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2314.1300
Reply-To: djgpp AT delorie DOT com

My Code:
unsigned long foo;
printf("%d", foo);

My compiler warnings:
...warning: int format, long int arg (arg 2)

What does this mean? Is it the "%i" thingy?
How can make that warning vanish?



- Raw text -


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