1
0
mirror of https://git.code.sf.net/p/zint/code synced 2025-12-20 03:17:12 +00:00

Ticket #18: add some const.

This commit is contained in:
Harald Oehlmann
2016-04-06 22:55:14 +02:00
parent 5ec95153a0
commit 0fcf4cc1ab
3 changed files with 9 additions and 9 deletions

View File

@@ -1099,7 +1099,7 @@ int ZBarcode_Encode_File_and_Buffer(struct zint_symbol *symbol, char *filename,
* dimensions. The symbol->scale and symbol->height values are totally ignored in this case.
*
*/
int ZBarcode_Render(struct zint_symbol *symbol, float width, float height) {
int ZBarcode_Render(struct zint_symbol *symbol, const float width, const float height) {
// Send the request to the render_plot method
return render_plot(symbol, width, height);
}