From 9e7695d9e9541a2e7243d6de0fb0eaa5ce38004d Mon Sep 17 00:00:00 2001 From: Stefan Pöschel Date: Thu, 24 Aug 2017 16:37:22 +0200 Subject: Fix pedantic warnings and Makefile - fix pedantic warnings (binary literals) - remove orphaned path from compiler call - add C++11 standard and `-Wpedantic` to compiler call --- src/dls.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/dls.h') diff --git a/src/dls.h b/src/dls.h index 135da48..84ff4c5 100644 --- a/src/dls.h +++ b/src/dls.h @@ -40,11 +40,11 @@ // DL/DL+ commands enum { - DLS_CMD_REMOVE_LABEL = 0b0001, - DLS_CMD_DL_PLUS = 0b0010 + DLS_CMD_REMOVE_LABEL = 0x1 /* 0b0001 */, + DLS_CMD_DL_PLUS = 0x2 /* 0b0010 */ }; enum { - DL_PLUS_CMD_TAGS = 0b0000 + DL_PLUS_CMD_TAGS = 0x0 /* 0b0000 */ }; -- cgit v1.2.3