From: Adrian Bunk <bunk@fs.tum.de>
To: Richard Russon <ldm@flatcap.org>,
Anton Altaparmakov <aia21@cantab.net>,
Jakob Kemi <jakob.kemi@telia.com>
Cc: linux-kernel@vger.kernel.org, trivial@rustcorp.com.au
Subject: [2.5 patch] postfix two ldm.h constants with ULL
Date: Mon, 23 Jun 2003 20:57:22 +0200 [thread overview]
Message-ID: <20030623185722.GI3710@fs.tum.de> (raw)
The patch below postfixes two constants in fs/partitions/ldm.h that are
on 32 bit archs too big for an int with ULL.
cu
Adrian
--- linux-2.5.73-not-full/fs/partitions/ldm.h.old 2003-06-23 20:53:02.000000000 +0200
+++ linux-2.5.73-not-full/fs/partitions/ldm.h 2003-06-23 20:53:25.000000000 +0200
@@ -38,8 +38,8 @@
/* Magic numbers in CPU format. */
#define MAGIC_VMDB 0x564D4442 /* VMDB */
#define MAGIC_VBLK 0x56424C4B /* VBLK */
-#define MAGIC_PRIVHEAD 0x5052495648454144 /* PRIVHEAD */
-#define MAGIC_TOCBLOCK 0x544F43424C4F434B /* TOCBLOCK */
+#define MAGIC_PRIVHEAD 0x5052495648454144ULL /* PRIVHEAD */
+#define MAGIC_TOCBLOCK 0x544F43424C4F434BULL /* TOCBLOCK */
/* The defined vblk types. */
#define VBLK_VOL5 0x51 /* Volume, version 5 */
reply other threads:[~2003-06-23 18:43 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
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=20030623185722.GI3710@fs.tum.de \
--to=bunk@fs.tum.de \
--cc=aia21@cantab.net \
--cc=jakob.kemi@telia.com \
--cc=ldm@flatcap.org \
--cc=linux-kernel@vger.kernel.org \
--cc=trivial@rustcorp.com.au \
/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