Skip to content

Commit

Permalink
includes: Fix format string
Browse files Browse the repository at this point in the history
The format strings for QB_HDB_D_FORMAT & QB_HDB_X_FORMAT had no spaces
between "%" and PRIx64. This is allowed, but technically incorrect and
breaks C++11

Signed-off-by: Christine Caulfield <ccaulfie@redhat.com>
  • Loading branch information
chrissie-c committed Jan 8, 2016
1 parent 3245d7a commit 0f62ddb
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions include/qb/qbhdb.h
Expand Up @@ -49,8 +49,8 @@ typedef uint64_t qb_handle_t;
/*
* Formatting for string printing on 32/64 bit systems
*/
#define QB_HDB_D_FORMAT "%"PRIu64
#define QB_HDB_X_FORMAT "%"PRIx64
#define QB_HDB_D_FORMAT "%" PRIu64
#define QB_HDB_X_FORMAT "%" PRIx64

struct qb_hdb_handle {
int32_t state;
Expand Down

0 comments on commit 0f62ddb

Please sign in to comment.