From a40e7f987a23eae17a122ce8faac23145a81880e Mon Sep 17 00:00:00 2001 From: Alex 'AdUser' Z Date: Thu, 9 Apr 2015 16:57:58 +1000 Subject: [PATCH] * imdb_sample() : add const qualifier --- src/sample.c | 2 +- src/sample.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/sample.c b/src/sample.c index 507ca9f..608b1a0 100644 --- a/src/sample.c +++ b/src/sample.c @@ -7,7 +7,7 @@ int imdb_sample(imdb_rec_t * const rec, - char * const source) + const char * const source) { MagickWand *wand = NULL; MagickPassFail status = MagickPass; diff --git a/src/sample.h b/src/sample.h index d3585f8..2b5c844 100644 --- a/src/sample.h +++ b/src/sample.h @@ -3,6 +3,6 @@ int imdb_sample(imdb_rec_t * const rec, - char * const source); + const char * const source); #endif /* HAS_SAMPLER_H */