From: Colin McCabe Subject: [PATCH] tabled: use LL to indicate 64-bit constant Date: Sun, 10 Jan 2010 05:10:12 -0800 Message-ID: <1263129012-29423-1-git-send-email-cmccabe@alumni.cmu.edu> Return-path: DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:sender:received:from:to:cc :subject:date:message-id:x-mailer; bh=r/4Il64MO/gt9XvKYv2U8gUOPJ+T+Z3qjmasAo7tH30=; b=Ku+JQxofjWc4ne/rpIP1NCAdXBD37ytRMQmajo0AJpWEOODmGfiL0sN2/1qTRShmrt 7SIplD4TgC9//XQ6jCLhlTS2mEp0WZQIto4HaP0LGgpVuZUypmdnq5aa3NkzfT1rlOR8 hQP+0HwmcdN7qkaLLtU7KwTZ5VvkUv6iK6o2g= Sender: hail-devel-owner@vger.kernel.org List-ID: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: Project Hail List Cc: Pete Zaitcev , Jeff Garzik , Colin McCabe All integer constants are squashed into ints (i.e. 32-bit) unless you specify otherwise. Signed-off-by: Colin McCabe --- server/util.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/server/util.c b/server/util.c index 3c15123..63a3acb 100644 --- a/server/util.c +++ b/server/util.c @@ -328,7 +328,7 @@ int objid_init(uint64_t *obj_count, struct tabledb *tdbp) exit(1); /* Quit before something unknown blows up. */ } - if (objcount & 0xff00000000000000) { + if (objcount & 0xff00000000000000ll) { applog(LOG_ERR, "Dangerous objid %llX\n", (unsigned long long) objcount); return -1; -- 1.6.2.5