From 29ec67861cc68f03b93a5a4c5a7e2a002cf3170e Mon Sep 17 00:00:00 2001 From: compudj Date: Thu, 11 Oct 2007 16:22:27 +0000 Subject: [PATCH] fix marker-desc git-svn-id: http://ltt.polymtl.ca/svn@2654 04897980-b3bd-0310-b5e0-8ef037075253 --- ltt/branches/poly/ltt/marker-desc.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/ltt/branches/poly/ltt/marker-desc.h b/ltt/branches/poly/ltt/marker-desc.h index 7a19ab21..741cfa67 100644 --- a/ltt/branches/poly/ltt/marker-desc.h +++ b/ltt/branches/poly/ltt/marker-desc.h @@ -8,6 +8,7 @@ * License: LGPL. */ +#include #include #include @@ -16,7 +17,7 @@ static inline GQuark ltt_enum_string_get(struct marker_field *f, gulong value) { char tmp[1024] = "ENUM-"; - sprintf(tmp[sizeof("ENUM-") - 1], "%lu", value); + sprintf(&tmp[sizeof("ENUM-") - 1], "%lu", value); return g_quark_from_string(tmp); } -- 2.34.1