I always thought the limit was 2024. Well dang.
Its 2048 because 1 extra bit is being used, and adding bits increases the range of possible values held by a power of 2.
Ah ok, that's what I thought.
Also guys, don't worry about hitting the limit too much. If worse comes to worse and you actually do hit the limit through some extreme measures, you'll just have to disable a few of the hundreds of guns you probably enabled to reach the limit.
Edit: Oh I just noticed my error, I meant 2048, not 2024. Sorry about that.