mirror of
https://github.com/genodelabs/genode.git
synced 2025-06-15 21:58:24 +00:00
base: avoid implicit conversions
This patch is a prerequisite for compiling the code with the warnings -Wconversion enabled. Issue #23
This commit is contained in:
@ -19,8 +19,11 @@
|
||||
#include "testlib.h"
|
||||
|
||||
/* Linux includes */
|
||||
#pragma GCC diagnostic push
|
||||
#pragma GCC diagnostic ignored "-Wconversion"
|
||||
#include <stdlib.h>
|
||||
#include <stdio.h>
|
||||
#pragma GCC diagnostic pop /* restore -Wconversion warnings */
|
||||
|
||||
using namespace Genode;
|
||||
|
||||
|
Reference in New Issue
Block a user