Skip to content
Commit 82ca6308 authored by Alan Coopersmith's avatar Alan Coopersmith
Browse files

Use size_t for buffer sizes in SetHints.c



These variables store values returned from strlen() as a size_t
and are passed to Xmalloc, which expects a size_t, so lets stop
converting back and forth to int along the way.

Reported by: Konstantin SKliarov
Signed-off-by: default avatarAlan Coopersmith <alan.coopersmith@oracle.com>
Reviewed-by: default avatarMatthieu Herrb <matthieu@herrb.eu>
parent 50a5a989
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment