parent
5a2e7a8d66
commit
aa63628536
|
@ -0,0 +1,15 @@
|
||||||
|
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;
|
|
@ -1 +1 @@
|
||||||
964a28dc3463447e4245390233ba9f9d08191b21
|
7f32b6b4051d381006d12e2e4c6a14f691d0ceae
|
||||||
|
|
Loading…
Reference in New Issue