mirror of
https://github.com/genodelabs/genode.git
synced 2024-12-23 15:32:25 +00:00
aa63628536
Fixes #3330
16 lines
525 B
Diff
16 lines
525 B
Diff
Fix GCC 8 compile error
|
|
|
|
diff --git a/user/include/l4/kip.h b/user/include/l4/kip.h
|
|
index 63e5b62..4a8bd6e 100644
|
|
--- a/user/include/l4/kip.h
|
|
+++ b/user/include/l4/kip.h
|
|
@@ -558,7 +558,7 @@ L4_INLINE L4_Bool_t L4_HasFeature (const char *feature_name)
|
|
void *kip = L4_GetKernelInterface();
|
|
char *name;
|
|
|
|
- for( L4_Word_t i = 0; (name = L4_Feature(kip,i)) != '\0'; i++ )
|
|
+ for( L4_Word_t i = 0; (name = L4_Feature(kip,i)) != 0; i++ )
|
|
{
|
|
const char *n = name;
|
|
const char *fn = feature_name;
|