diff options
Diffstat (limited to 'other/pamlookup.c')
-rw-r--r-- | other/pamlookup.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/other/pamlookup.c b/other/pamlookup.c index 41da4f2d..d5f046a5 100644 --- a/other/pamlookup.c +++ b/other/pamlookup.c @@ -94,7 +94,7 @@ fitLookup(tuple ** const inputLookup, fitLookuppamP->width = cols; fitLookuppamP->height = rows; - asprintfN(&pamscaleCommand, "pamscale -width=%u -height=%u", cols, rows); + pm_asprintf(&pamscaleCommand, "pamscale -width=%u -height=%u", cols, rows); inPamtuples.pamP = (struct pam *) &inputLookuppam; inPamtuples.tuplesP = (tuple ***) &inputLookup; @@ -105,7 +105,7 @@ fitLookup(tuple ** const inputLookup, &pm_accept_to_pamtuples, &outPamtuples, pamscaleCommand); - strfree(pamscaleCommand); + pm_strfree(pamscaleCommand); } |