From 73271a5623a3db98a26c45f59135abf59bfd2575 Mon Sep 17 00:00:00 2001 From: Moe Jette <jette1@llnl.gov> Date: Mon, 1 Nov 2010 17:26:02 +0000 Subject: [PATCH] add typecast to NO_VAL to get field size correct --- src/plugins/select/bluegene/block_allocator/block_allocator.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/plugins/select/bluegene/block_allocator/block_allocator.c b/src/plugins/select/bluegene/block_allocator/block_allocator.c index 8ecb879285d..c623eac352c 100644 --- a/src/plugins/select/bluegene/block_allocator/block_allocator.c +++ b/src/plugins/select/bluegene/block_allocator/block_allocator.c @@ -487,7 +487,7 @@ extern int new_ba_request(ba_request_t* ba_request) ba_request->deny_pass = ba_deny_pass; if(!(cluster_flags & CLUSTER_FLAG_BG)) { - if(geo[X] != NO_VAL) { + if(geo[X] != (uint16_t)NO_VAL) { for (i=0; i<cluster_dims; i++) { if ((geo[i] < 1) || (geo[i] > DIM_SIZE[i])) { error("new_ba_request Error, " -- GitLab