summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBen Brewer <ben.brewer@codethink.co.uk>2014-05-29 15:54:44 +0100
committerBen Brewer <ben.brewer@codethink.co.uk>2014-06-02 11:03:00 +0100
commit83990c46886eaecd3b6ad3c4ebbc67757514f8ee (patch)
treeb9e7520c7c11d4bd927abeb66b0c87f9396faf57
parentab5dbf22791338239c72c8e9a0a1ae4dd5523e1b (diff)
downloadtbdiff-83990c46886eaecd3b6ad3c4ebbc67757514f8ee.tar.gz
Make TB_DIFF_PROTOCOL_ID a static const char for type safety
-rw-r--r--tbdiff/tbdiff-private.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/tbdiff/tbdiff-private.h b/tbdiff/tbdiff-private.h
index 8287670..296dbcb 100644
--- a/tbdiff/tbdiff-private.h
+++ b/tbdiff/tbdiff-private.h
@@ -1,5 +1,5 @@
/*
- * Copyright (C) 2011-2012 Codethink Ltd.
+ * Copyright (C) 2011-2014 Codethink Ltd.
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License Version 2 as
@@ -22,6 +22,6 @@
#ifndef __TBDIFF_PRIVATE_H__
#define __TBDIFF_PRIVATE_H__
-#define TB_DIFF_PROTOCOL_ID "Codethink:TBDIFFv0"
+static const char* TB_DIFF_PROTOCOL_ID = "Codethink:TBDIFFv0";
#endif /* !__TBDIFF_PRIVATE_H__ */