Type problem with > node

What I’m trying to do is switch the Tokenizer mode from Enqueue to Discard if the queue gets too big.

I can join the Tokenizer’s Queue length pin to a > (value) node, but it then won’t let me connect the output pin of the > to the input pin of a switch. If I disconnect the > input pin I can then connect the output to the switch but can’t then connect the input of the > to the Tokenizer output…
I’m assuming this is some sort of type conflict between Ints & floats but can’t figure out how to convert - can;t see any obvious node types to do it. Help!

Update - looks like it’s not the type but the fact that the signal eventually feeds back into tokenizer - any way round this?

Read this