diff options
-rw-r--r-- | packaging/murphy.spec | 2 | ||||
-rw-r--r-- | src/common/msg.c | 10 |
2 files changed, 6 insertions, 6 deletions
diff --git a/packaging/murphy.spec b/packaging/murphy.spec index f986224..8ccf501 100644 --- a/packaging/murphy.spec +++ b/packaging/murphy.spec @@ -29,7 +29,7 @@ Summary: Resource policy framework Name: murphy Version: 0.0.75 -Release: 25 +Release: 26 License: BSD-3-Clause Group: System/Service URL: http://01.org/murphy/ diff --git a/src/common/msg.c b/src/common/msg.c index 2db8214..50c4b40 100644 --- a/src/common/msg.c +++ b/src/common/msg.c @@ -843,7 +843,7 @@ int mrp_msg_dump(mrp_msg_t *msg, FILE *fp) DUMP(0, "%d", tname, f->s32); break; case MRP_MSG_FIELD_UINT64: - DUMP(0, "%Lu", tname, (long long unsigned)f->u64); + DUMP(0, "%llu", tname, (long long unsigned)f->u64); break; case MRP_MSG_FIELD_SINT64: DUMP(0, "%Ld", tname, (long long signed)f->s64); @@ -900,7 +900,7 @@ int mrp_msg_dump(mrp_msg_t *msg, FILE *fp) DUMP(8, "%d", tname, f->as32[i]); break; case MRP_MSG_FIELD_UINT64: - DUMP(8, "%Lu", tname, + DUMP(8, "%llu", tname, (unsigned long long)f->au64[i]); break; case MRP_MSG_FIELD_SINT64: @@ -1995,7 +1995,7 @@ int mrp_data_dump(void *data, mrp_data_descr_t *descr, FILE *fp) DUMP(0, "%d", tname, v->s32); break; case MRP_MSG_FIELD_UINT64: - DUMP(0, "%Lu", tname, (long long unsigned)v->u64); + DUMP(0, "%llu", tname, (long long unsigned)v->u64); break; case MRP_MSG_FIELD_SINT64: DUMP(0, "%Ld", tname, (long long signed)v->s64); @@ -2043,10 +2043,10 @@ int mrp_data_dump(void *data, mrp_data_descr_t *descr, FILE *fp) DUMP(8, "%d", tname, v->as32[j]); break; case MRP_MSG_FIELD_UINT64: - DUMP(8, "%Lu", tname, (long long unsigned)v->au64[j]); + DUMP(8, "%llu", tname, (long long unsigned)v->au64[j]); break; case MRP_MSG_FIELD_SINT64: - DUMP(8, "%Ld", tname, (long long signed)v->as64[j]); + DUMP(8, "%lld", tname, (long long signed)v->as64[j]); break; case MRP_MSG_FIELD_DOUBLE: DUMP(8, "%f", tname, v->adbl[j]); |