summaryrefslogtreecommitdiff
path: root/src/logic
diff options
context:
space:
mode:
authormidipix <writeonce@midipix.org>2016-01-10 13:18:55 -0500
committermidipix <writeonce@midipix.org>2016-11-10 23:35:36 -0500
commitc3f597ea8d410c30b0c757adb75b2608ad7a4ff9 (patch)
tree50b7812547ad8dc573e38f56a3747cc4e876e48c /src/logic
parentc7189ea266edee9e39fe6d03d983e7e35448cb9e (diff)
downloadperk-c3f597ea8d410c30b0c757adb75b2608ad7a4ff9.tar.bz2
perk-c3f597ea8d410c30b0c757adb75b2608ad7a4ff9.tar.xz
a sign from heaven.
Diffstat (limited to 'src/logic')
-rw-r--r--src/logic/pe_get_image_meta.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/logic/pe_get_image_meta.c b/src/logic/pe_get_image_meta.c
index 65f7922..8da2c90 100644
--- a/src/logic/pe_get_image_meta.c
+++ b/src/logic/pe_get_image_meta.c
@@ -14,7 +14,7 @@
static int pe_free_image_meta_impl(struct pe_image_meta * meta, int status)
{
- unsigned i;
+ int i;
if (meta) {
for (i=0; i<meta->summary.nimplibs; i++)
@@ -60,7 +60,8 @@ int pe_get_block_section_index(const struct pe_image_meta * m, const struct pe_b
int pe_get_image_meta(const struct pe_raw_image * image, struct pe_image_meta ** meta)
{
- int i,j,s,status;
+ int i,s,status;
+ unsigned j;
struct pe_image_meta * m;
char * base = image->addr;