pike.git / src / operators.c

version» Context lines:

pike.git/src/operators.c:338:    Pike_error(    "Can only cast array(int) to string, item %d is not an integer: %O\n",    i, a->item + i);    }    val = a->item[i].u.integer;    switch (shift) { /* Trust the compiler to strength reduce this. */    case 0:    if ((unsigned INT32) val <= 0xff)    break;    shift = 1; -  /* FALL THROUGH */ +  /* FALLTHRU */       case 1:    if ((unsigned INT32) val <= 0xffff)    break;    shift = 2; -  /* FALL THROUGH */ +  /* FALLTHRU */       case 2:   #if SIZEOF_INT_TYPE > 4    if (val < MIN_INT32 || val > MAX_INT32)    Pike_error ("Item %d is too large: %"PRINTPIKEINT"x.\n",    i, val);   #endif    break;    }    }