Skip to content

Commit cd03c01

Browse files
committed
lstopo/tikz: fix two printf format signedness warnings
Signed-off-by: Brice Goglin <[email protected]>
1 parent 3ccf5e6 commit cd03c01

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

utils/lstopo/lstopo-tikz.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -151,7 +151,7 @@ int output_tikz(struct lstopo_output * loutput, const char *filename)
151151
fprintf(output, "\n%%%%%%%%%% If inserting in another document, this is the actual source code of the picture %%%%%%%%%%\n\n");
152152
fprintf(output, "\\begin{tikzpicture}[x=1pt,y=1pt,yscale=-1,"
153153
"hwloc-label/.style={fill=none,draw=none,text=black,align=left,anchor=north west,"
154-
"outer sep=0pt,inner sep=0pt,font=\\fontsize{%d}{%d}\\selectfont%s}]\n",
154+
"outer sep=0pt,inner sep=0pt,font=\\fontsize{%u}{%u}\\selectfont%s}]\n",
155155
loutput->fontsize, loutput->fontsize + loutput->linespacing, font_family);
156156
fprintf(output, "\t\\clip (0,0) rectangle (%u,%u);\n", loutput->width, loutput->height);
157157
output_draw(loutput);

0 commit comments

Comments
 (0)