]> granicus.if.org Git - graphviz/commit
core plugin: squash -Wsign-conversion warning
authorMatthew Fernandez <matthew.fernandez@gmail.com>
Tue, 8 Nov 2022 02:27:36 +0000 (18:27 -0800)
committerMatthew Fernandez <matthew.fernandez@gmail.com>
Fri, 11 Nov 2022 01:09:34 +0000 (17:09 -0800)
commit733ffa2a0c063759a1a6f2fb110f7a5d3e050a16
tree2e0dba8248064fc2b4cb680f9def9f44064aba28
parent55a6ac3a4702aa7a48a14f8ac5be134fe397a775
core plugin: squash -Wsign-conversion warning

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);
        |                  ^
plugin/core/gvloadimage_core.c