summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authormidipix <writeonce@midipix.org>2015-11-29 07:47:39 -0500
committermidipix <writeonce@midipix.org>2016-11-10 23:35:28 -0500
commit6f882bdec8a39161596d53c1afc78cd9fd4a2d83 (patch)
treefa819a8386f9bb471532ea4120812a18d5df01c4
parente343a687474e1f4f8837852dfafc30c8736bafab (diff)
downloadperk-6f882bdec8a39161596d53c1afc78cd9fd4a2d83.tar.bz2
perk-6f882bdec8a39161596d53c1afc78cd9fd4a2d83.tar.xz
conformance fixes: driver: signedness, missing #include.
-rw-r--r--src/driver/pe_driver_ctx.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/driver/pe_driver_ctx.c b/src/driver/pe_driver_ctx.c
index 32e0819..92a025d 100644
--- a/src/driver/pe_driver_ctx.c
+++ b/src/driver/pe_driver_ctx.c
@@ -1,4 +1,5 @@
#include <stdint.h>
+#include <unistd.h>
#include <fcntl.h>
#include <perk/perk.h>
#include <perk/perk_output.h>
@@ -68,8 +69,8 @@ static uint32_t pe_argv_flags(uint32_t flags)
}
static int pe_driver_usage(
- const unsigned char * program,
- const unsigned char * arg,
+ const char * program,
+ const char * arg,
struct argv_meta * meta)
{
char header[512];