From patchwork Thu Oct 8 17:12:03 2009 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "Smith, Stan" X-Patchwork-Id: 52541 Received: from vger.kernel.org (vger.kernel.org [209.132.176.167]) by demeter.kernel.org (8.14.2/8.14.2) with ESMTP id n98HCwgd006268 for ; Thu, 8 Oct 2009 17:12:58 GMT Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1759061AbZJHRMk (ORCPT ); Thu, 8 Oct 2009 13:12:40 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1759089AbZJHRMk (ORCPT ); Thu, 8 Oct 2009 13:12:40 -0400 Received: from mga02.intel.com ([134.134.136.20]:13728 "EHLO mga02.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1758988AbZJHRMk (ORCPT ); Thu, 8 Oct 2009 13:12:40 -0400 Received: from orsmga002.jf.intel.com ([10.7.209.21]) by orsmga101.jf.intel.com with ESMTP; 08 Oct 2009 09:56:43 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="4.44,526,1249282800"; d="scan'208";a="455694835" Received: from scsmith-mobl1.amr.corp.intel.com (HELO scsmithMOBL1) ([10.7.151.219]) by orsmga002.jf.intel.com with ESMTP; 08 Oct 2009 10:17:51 -0700 From: "Stan C. Smith" To: "'Sasha Khapyorsky'" Cc: , "'linux-rdma'" Subject: [PATCH] opensm - use uintptr_t instead of unsigned long Date: Thu, 8 Oct 2009 10:12:03 -0700 Message-ID: MIME-Version: 1.0 X-Mailer: Microsoft Office Outlook 11 Thread-Index: AcpIOnSMLzJ0QX+ZTve6ZYm3Fb9xqw== X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.5579 Sender: linux-rdma-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-rdma@vger.kernel.org diff --git a/opensm/include/opensm/st.h b/opensm/include/opensm/st.h index 30cc308..dd7eacc 100644 --- a/opensm/include/opensm/st.h +++ b/opensm/include/opensm/st.h @@ -49,7 +49,11 @@ #endif /* __cplusplus */ BEGIN_C_DECLS +#ifdef __GNUC__ #define st_ptr_t unsigned long +#else +#define st_ptr_t uintptr_t +#endif typedef st_ptr_t st_data_t; #define ST_DATA_T_DEFINED