aboutsummaryrefslogtreecommitdiff
path: root/ubi-utils/src/pfi.c
diff options
context:
space:
mode:
Diffstat (limited to 'ubi-utils/src/pfi.c')
-rw-r--r--ubi-utils/src/pfi.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ubi-utils/src/pfi.c b/ubi-utils/src/pfi.c
index 7b57559..fa835e2 100644
--- a/ubi-utils/src/pfi.c
+++ b/ubi-utils/src/pfi.c
@@ -253,7 +253,7 @@ int pfi_header_setvalue (pfi_header head,
{
int key_id = find_key_by_name(key);
- if ((uint32_t)value == (uint32_t)NULL)
+ if (value == NULL)
return PFI_EINSUFF;
if ((key_id < 0) || (key_id >= num_keys))