zipl: make BLK_PWRT unsigned int

Otherwise there might be a compiler warning when using 'MIN(bl_count,
BLK_PWRT)'.

Reviewed-by: Philipp Rudo <prudo@linux.ibm.com>
Reviewed-by: Stefan Haberland <sth@linux.ibm.com>
Signed-off-by: Marc Hartmayer <mhartmay@linux.ibm.com>
Signed-off-by: Jan Höppner <hoeppner@linux.ibm.com>
This commit is contained in:
Marc Hartmayer
2019-12-09 17:58:44 +01:00
committed by Jan Höppner
parent 24fe8c1d1b
commit 2e28291c75

View File

@@ -14,7 +14,7 @@
#include "fba.h"
#include "stage2dump.h"
#define BLK_PWRT 64 /* Blocks per write */
#define BLK_PWRT 64U /* Blocks per write */
#define BLK_SIZE 0x200 /* FBA block size */
#define BLK_PER_PAGE (PAGE_SIZE / BLK_SIZE) /* FBA blocks per page */