Long (I shouldn't have to wait long)

Both are correct or only one of them is correct? They are the same meaning? If not, what is the difference?

a. I shouldn’t have long to wait.
b. I shouldn’t have to wait long.

Thanks

Hi,

Both sentences are fine and the word order doesn’t affect the meaning.

Alan