public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Anthony G. Basile" <blueness@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] proj/elfix:paxmark-libs commit in: /
Date: Thu,  8 Sep 2011 23:55:04 +0000 (UTC)	[thread overview]
Message-ID: <c67cc8958341a5420ea06b9a4a901f6aad53890a.blueness@gentoo> (raw)

commit:     c67cc8958341a5420ea06b9a4a901f6aad53890a
Author:     Anthony G. Basile <blueness <AT> gentoo <DOT> org>
AuthorDate: Mon Sep  5 21:12:09 2011 +0000
Commit:     Anthony G. Basile <blueness <AT> gentoo <DOT> org>
CommitDate: Mon Sep  5 21:12:09 2011 +0000
URL:        http://git.overlays.gentoo.org/gitweb/?p=proj/elfix.git;a=commit;h=c67cc895

testpax.c: fixed minor warnings

---
 README     |    3 +--
 libmypax.c |    4 ++--
 2 files changed, 3 insertions(+), 4 deletions(-)

diff --git a/README b/README
index ae7212b..e45f94c 100644
--- a/README
+++ b/README
@@ -6,8 +6,7 @@ What you need:
 
 	0. Preferrably do this on the One True Distro, hardened gentoo.
 	1. Run a pax enabled kernel with RANDMMAP
-	2. Install app-misc/pax-utils
-	3. Install sys-apps/paxctl
+	2. Install sys-apps/paxctl
 
 How to use this 
 

diff --git a/libmypax.c b/libmypax.c
index 5b1068c..d09e79c 100644
--- a/libmypax.c
+++ b/libmypax.c
@@ -7,8 +7,8 @@
 void
 doit() {
 	printf("Doing it\n");
-	size_t m = mmap( NULL, 4096, PROT_READ | PROT_WRITE, MAP_PRIVATE | MAP_ANONYMOUS, -1, 0 );
-	if( m == MAP_FAILED )
+	size_t m = (size_t) mmap( NULL, 4096, PROT_READ | PROT_WRITE, MAP_PRIVATE | MAP_ANONYMOUS, -1, 0 );
+	if( m == (size_t) MAP_FAILED )
         	printf("%s\n", strerror(errno));
 	printf("Done it\n");
 }



             reply	other threads:[~2011-09-08 23:55 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-09-08 23:55 Anthony G. Basile [this message]
  -- strict thread matches above, loose matches on Subject: below --
2011-09-08 23:55 [gentoo-commits] proj/elfix:paxmark-libs commit in: / Anthony G. Basile
2011-09-08 23:55 Anthony G. Basile
2011-09-08 23:55 Anthony G. Basile
2011-09-08 23:55 Anthony G. Basile
2011-09-08 23:55 Anthony G. Basile
2011-09-08 23:55 Anthony G. Basile
2011-09-08 23:55 Anthony G. Basile
2011-09-08 23:55 Anthony G. Basile
2011-09-08 23:55 Anthony G. Basile
2011-09-08 23:55 Anthony G. Basile
2011-09-08 23:55 Anthony G. Basile
2011-09-08 23:55 Anthony G. Basile
2011-09-08 23:55 Anthony G. Basile

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=c67cc8958341a5420ea06b9a4a901f6aad53890a.blueness@gentoo \
    --to=blueness@gentoo.org \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox