1
0
Fork 0
mirror of git://git.code.sf.net/p/cdesktopenv/code synced 2025-03-09 15:50:02 +00:00

dtudcexch/dtudcfonted: Resolve 78 compiler warnings.

This commit is contained in:
Peter Howkins 2012-09-18 12:00:05 +01:00
parent e2432556b8
commit 5e14a88e2c
12 changed files with 69 additions and 66 deletions

View file

@ -33,6 +33,7 @@
#include <stdio.h>
#include <fcntl.h>
#include <signal.h>
#include <stdlib.h>
#ifndef SVR4
#if !defined( SYSV )
#include <sys/resource.h>

View file

@ -245,7 +245,7 @@ void makelist(ListData *ld)
existcode_num = 0;
for (i = 0; i < ld->allcode_num; i++) {
code = *allcodep;
pattern = FalReadFont(fid, code, NULL, NULL);
pattern = FalReadFont(fid, code, 0, 0);
if (fal_utyexists == 0) {
*existcodep = *allcodep;
existcodep++;
@ -294,7 +294,7 @@ char *i2s(int code)
for (i = 0; ; i++) {
if (tmp < 16) {
buf[i] = i2c(tmp);
buf[i+1] = NULL;
buf[i+1] = 0;
break;
}
buf[i] = i2c(tmp % 16);
@ -309,7 +309,7 @@ char *i2s(int code)
*cp = buf[i];
cp++;
}
*cp = NULL;
*cp = 0;
return (number);
}