Squashes the compiler warning:
gvloadimage_core.c: In function ‘core_loadimage_vml’:
gvloadimage_core.c:251:18: warning: conversion to ‘unsigned int’ from ‘int’
may change the sign of the result [-Wsign-conversion]
251 | graphHeight =(int)(job->bb.UR.y - job->bb.LL.y);
| ^
{
(void)filled;
- unsigned int graphHeight;
- graphHeight =(int)(job->bb.UR.y - job->bb.LL.y);
+ int graphHeight = (int)(job->bb.UR.y - job->bb.LL.y);
gvprintf (job, "<v:image src=\"%s\" style=\" position:absolute; width:%.2f; height:%.2f; left:%.2f ; top:%.2f\"",
us->name, b.UR.x - b.LL.x, b.UR.y - b.LL.y, b.LL.x, graphHeight-b.UR.y);
gvputs(job, " />\n");