Change the ExcludeEntry to use a name component directly.
diff --git a/ndn-cpp/interest.cpp b/ndn-cpp/interest.cpp
index 5417fa0..b9a4b69 100644
--- a/ndn-cpp/interest.cpp
+++ b/ndn-cpp/interest.cpp
@@ -28,7 +28,7 @@
     ndn_ExcludeEntry *entry = &excludeStruct.entries[i];
     
     if (entry->type == ndn_Exclude_COMPONENT)
-      addComponent(entry->component, entry->componentLength);
+      addComponent(entry->component.value, entry->component.valueLength);
     else if (entry->type == ndn_Exclude_ANY)
       addAny();
     else