Silences a few build warnings

This commit is contained in:
Colin Dean 2018-04-08 11:49:07 -04:00
parent 8b91990a25
commit 3ecedd11dd
3 changed files with 3 additions and 3 deletions

2
font.h
View File

@ -269,7 +269,7 @@ static char header_data_cmap[256][3] = {
{255,255,255},
{255,255,255}
};
static char header_data[] = {
static char header_data[36000] = {
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,

View File

@ -316,7 +316,7 @@ static double angle(double x, double y)
{
double deg;
if (abs(x)>abs(y)){
if (fabs(x)>fabs(y)){
/* Horizontal */
deg=180/M_PI*asin(y);
if (x<0) deg=180-deg;