I have two GLOCK 19's and two GLOCK 23's, and so quite a few 9 and 40 mags, and all the mags work fine with 9mm rounds in the GLOCK 19. You can generally put 13 rounds of 9mm in any (10 round) .40 mag.
I use the P7M10 (.40S&W) mags with the 9mm P7M13 gun quite a bit as well - which also takes you from 10 to 13. Never had any problems with it. This combination is, coincidentally, the one the RCMP used in their bulliten on this topic from a few years ago.
I would think that most common 9mm pistols will work with .40 mags. The lips are going to be different, but not different enough to make any substantial negative effect on reliability. Reliability might degrade by a few %, but "so what?" for range use?