summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJelmer Vernooij <jelmer@samba.org>2014-11-08 14:15:41 +0000
committerJeremy Allison <jra@samba.org>2014-11-10 06:09:04 +0100
commite2b5ae135b740c7a6d04c2ef8137ce4064d83dff (patch)
treeb61d2f833bdab8fbcb24d543a323543f52d9e879
parent6bc62af42ea5cc2eba90c73fb73188b57a59a347 (diff)
downloadsamba-e2b5ae135b740c7a6d04c2ef8137ce4064d83dff.tar.gz
samba-e2b5ae135b740c7a6d04c2ef8137ce4064d83dff.tar.xz
samba-e2b5ae135b740c7a6d04c2ef8137ce4064d83dff.zip
data_blob.h: Add space between literal and string constant.
C++11 compilers warn if there is a missing space: invalid suffix on literal; C++11 requires a space between literal and string macro [-Wliteral-suffix] Change-Id: Ib7e11c72c09de588ec558cfbf9dded8c625bf49b Signed-Off-By: Jelmer Vernooij <jelmer@samba.org> Reviewed-by: Jeremy Allison <jra@samba.org>
-rw-r--r--lib/util/data_blob.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/util/data_blob.h b/lib/util/data_blob.h
index a5caa925dc..94af7676ba 100644
--- a/lib/util/data_blob.h
+++ b/lib/util/data_blob.h
@@ -49,9 +49,9 @@ struct data_blob_list_item {
a fair bit of code */
#define ldb_val datablob
-#define data_blob(ptr, size) data_blob_named(ptr, size, "DATA_BLOB: "__location__)
-#define data_blob_talloc(ctx, ptr, size) data_blob_talloc_named(ctx, ptr, size, "DATA_BLOB: "__location__)
-#define data_blob_dup_talloc(ctx, blob) data_blob_talloc_named(ctx, (blob).data, (blob).length, "DATA_BLOB: "__location__)
+#define data_blob(ptr, size) data_blob_named(ptr, size, "DATA_BLOB: " __location__)
+#define data_blob_talloc(ctx, ptr, size) data_blob_talloc_named(ctx, ptr, size, "DATA_BLOB: " __location__)
+#define data_blob_dup_talloc(ctx, blob) data_blob_talloc_named(ctx, (blob).data, (blob).length, "DATA_BLOB: " __location__)
/**
construct a data blob, must be freed with data_blob_free()