#include <common/render.h>
#include <common/htmltable.h>
#include <limits.h>
+#include <stddef.h>
#define RBCONST 12
#define RBCURVE .5
{
field_t *info;
pointf ul, sz;
- int flip, len;
+ int flip;
+ size_t len;
char *textbuf; /* temp buffer for storing labels */
int sides = BOTTOM | RIGHT | TOP | LEFT;
* we need at least two bytes in textbuf, as well as accounting for the
* error path involving "\\N" below.
*/
- len = MAX(MAX(len, 1), (int)strlen("\\N"));
+ len = MAX(MAX(len, 1), strlen("\\N"));
textbuf = N_NEW(len + 1, char);
if (!(info = parse_reclbl(n, flip, TRUE, textbuf))) {
agerr(AGERR, "bad label format %s\n", ND_label(n)->text);