Correct static symbol XkmReadTOC and first pass on compile warning fixes.

The warnings corrected were only the ones that should correct
real problems. The most common one is 64 bit integers as
"printf %l" arguments.
  Note that there is a patch related to this at:
http://bugs.freedesktop.org/show_bug.cgi?id=18204
This commit is contained in:
Paulo Cesar Pereira de Andrade 2008-11-30 02:59:34 -02:00
commit 16b11cd03d
5 changed files with 19 additions and 25 deletions

View file

@ -252,7 +252,8 @@ xf86ExtendedInitInt10(int entityIndex, int Flags)
for (cs = V_BIOS; cs < SYS_BIOS; cs += V_BIOS_SIZE)
if (xf86ReadBIOS(cs, 0, (pointer)cs, V_BIOS_SIZE) < V_BIOS_SIZE)
xf86DrvMsg(screen, X_WARNING,
"Unable to retrieve all of segment 0x%06lX.\n", cs);
"Unable to retrieve all of segment 0x%06lX.\n",
(long)cs);
#ifdef DEBUG
ErrorF("done\n");
#endif