aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--include/pdp_bitmap.h2
-rw-r--r--include/pdp_image.h4
2 files changed, 3 insertions, 3 deletions
diff --git a/include/pdp_bitmap.h b/include/pdp_bitmap.h
index aa6df1b..7d286ad 100644
--- a/include/pdp_bitmap.h
+++ b/include/pdp_bitmap.h
@@ -87,7 +87,7 @@ t_pdp_symbol *pdp_packet_bitmap_get_description(int packet);
/* get subheader */
t_bitmap *pdp_packet_bitmap_info(int packet);
-bool pdp_packet_bitmap_isvalid(int packet);
+int pdp_packet_bitmap_isvalid(int packet);
#ifdef __cplusplus
}
diff --git a/include/pdp_image.h b/include/pdp_image.h
index 9874f36..d106937 100644
--- a/include/pdp_image.h
+++ b/include/pdp_image.h
@@ -69,8 +69,8 @@ extern "C"
/* validate and compat check */
-bool pdp_packet_image_isvalid(int packet);
-bool pdp_packet_image_compat(int packet0, int packet1);
+int pdp_packet_image_isvalid(int packet);
+int pdp_packet_image_compat(int packet0, int packet1);
/* short cuts to create specific packets */
int pdp_packet_new_image(u32 encoding, u32 width, u32 height);