diff options
author | Tushar Gohad <tushar.gohad@intel.com> | 2014-05-07 10:53:07 -0700 |
---|---|---|
committer | Tushar Gohad <tushar.gohad@intel.com> | 2014-06-26 12:36:55 -0700 |
commit | c40f116e0733d3921f5d6820bd2a556c64a77d7c (patch) | |
tree | 986bc719dab7dc2d74df4d7af27ddb5b96b80256 | |
parent | dd984527d1153cc9e6c527e8d4c3c523456d82d5 (diff) | |
download | pyeclib-c40f116e0733d3921f5d6820bd2a556c64a77d7c.tar.gz |
Fix return type for convert_list_to_bitmap()
Signed-off-by: Tushar Gohad <tushar.gohad@intel.com>
-rw-r--r-- | src/c/pyeclib_c/pyeclib_c.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/c/pyeclib_c/pyeclib_c.c b/src/c/pyeclib_c/pyeclib_c.c index bf0a251..6dc2631 100644 --- a/src/c/pyeclib_c/pyeclib_c.c +++ b/src/c/pyeclib_c/pyeclib_c.c @@ -151,10 +151,10 @@ static int validate_args(int k, int m, int w, pyeclib_type_t type) * Convert an int list into a bitmap * Assume the list is '-1' terminated. */ -static unsigned long convert_list_to_bitmap(int *list) +static unsigned long long convert_list_to_bitmap(int *list) { int i = 0; - unsigned long bm = 0; + unsigned long long bm = 0; while (list[i] > -1) { /* |