*
* You should have received a copy of the GNU General Public License
* along with this program; see the file COPYING. If not, write to
- * the Free Software Foundation, 59 Temple Place - Suite 330,
- * Boston, MA 02111-1307, USA.
+ * the Free Software Foundation, 51 Franklin Street, Fifth Floor,
+ * Boston, MA 02110-1301, USA.
*/
#include <stdio.h>
ptr = malloc (size);
if (ptr == NULL)
{
- fprintf (stderr, _("xmalloc(): couldn't allocate %d bytes\n"), size);
+ fprintf (stderr, _("xmalloc(): couldn't allocate %zd bytes\n"), size);
exit (1);
}
ptr = calloc (num, size);
if (ptr == NULL)
{
- fprintf (stderr, _("xcalloc(): couldn't allocate %d bytes\n"), size);
+ fprintf (stderr, _("xcalloc(): couldn't allocate %zd bytes\n"), size);
exit (1);
}
nptr = realloc (ptr, size);
if (nptr == NULL)
{
- fprintf (stderr, _("xrealloc(): couldn't reallocate %d bytes\n"), size);
+ fprintf (stderr, _("xrealloc(): couldn't reallocate %zd bytes\n"), size);
exit (1);
}