void-packages/srcpkgs/dmtx-utils/patches/fix-compiler-warnings.patch
2019-01-15 02:15:31 -02:00

30 lines
959 B
Diff

Description: kill compiler warnings
Author: Roberto Lumbreras <rover@debian.org>
Index: dmtx-utils-0.7.6/dmtxread/dmtxread.c
===================================================================
--- dmtxread/dmtxread.c 2018-08-09 08:08:03.657379018 +0200
+++ dmtxread/dmtxread.c 2018-08-09 08:08:03.649378973 +0200
@@ -724,7 +724,7 @@
int i, idx;
int row, rowCount;
int col, colCount;
- unsigned long totalCount;
+ size_t totalCount;
char **list;
list = MagickQueryFormats("*", &totalCount);
Index: dmtx-utils-0.7.6/dmtxwrite/dmtxwrite.c
===================================================================
--- dmtxwrite/dmtxwrite.c 2018-08-09 08:08:03.657379018 +0200
+++ dmtxwrite/dmtxwrite.c 2018-08-09 08:08:03.649378973 +0200
@@ -455,7 +455,7 @@
int i, idx;
int row, rowCount;
int col, colCount;
- unsigned long totalCount;
+ size_t totalCount;
char **list;
list = MagickQueryFormats("*", &totalCount);