Commit 291a1e1e authored by Alessandro Rubini's avatar Alessandro Rubini

bmc: better types in bmc_dataset_cmp()

You may be bored by these small changes, but I want to show that
I didn't introduce errors. In any case, each such change is reducing
both entropy in the source and binary size in the output.
Signed-off-by: Alessandro Rubini's avatarAlessandro Rubini <rubini@gnudd.com>
parent d5314df9
......@@ -91,11 +91,11 @@ static void copy_d0( struct pp_instance *ppi, MsgHeader *hdr, MsgAnnounce *ann)
* Data set comparison between two foreign masters (9.3.4 fig 27)
* return similar to memcmp()
*/
Integer8 bmc_dataset_cmp(struct pp_instance *ppi,
static int bmc_dataset_cmp(struct pp_instance *ppi,
MsgHeader *hdr_a, MsgAnnounce *ann_a,
MsgHeader *hdr_b, MsgAnnounce *ann_b)
{
short comp = 0;
int comp = 0;
Octet *ppci;
PP_VPRINTF("BMC: in bmc_dataset_cmp\n");
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment