The hopup unit will be the same for M4 and M16, but the barrel length is what will differ. I would suggest you take out your barrel and measure how long it is, and then purchase a tightbore that is equal to or a little less than that length. That's all really that you'll have to worry about.
-Bob.