/* Interfaces to system-dependent kernel and library entries.
Copyright (C) 1985, 1986, 1987, 1988, 1993, 1994, 1995, 1999, 2000, 2001,
- 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009
+ 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010
Free Software Foundation, Inc.
This file is part of GNU Emacs.
#define LPASS8 0
#endif
-static int baud_convert[] =
+static const int baud_convert[] =
{
0, 50, 75, 110, 135, 150, 200, 300, 600, 1200,
1800, 2400, 4800, 9600, 19200, 38400
if (MINOR (rdev) >= minor_beg && MINOR (rdev) <= minor_end)
{
- sprintf (name + strlen (name), "%lu", MINOR (rdev));
+ sprintf (name + strlen (name), "%u", MINOR (rdev));
break;
}
}
CHECK_NUMBER_OR_FLOAT (pid);
proc_id = FLOATP (pid) ? XFLOAT_DATA (pid) : XINT (pid);
- sprintf (procfn, "/proc/%lu", proc_id);
+ sprintf (procfn, "/proc/%u", proc_id);
if (stat (procfn, &st) < 0)
return attrs;