The script to generate ntstatus_gen.h uses the hex() function to convert an integer to a string and this results in hex numbers with an L at the end.
Created attachment 13723 [details] patch for 4.7
Comment on attachment 13723 [details] patch for 4.7 LGTM.
Karolin, please add it to 4.7.1. Thanks!
(In reply to Andreas Schneider from comment #3) Pushed to autobuild-v4-7-test.
(In reply to Karolin Seeger from comment #4) Pushed to v4-7-test. Closing out bug report. Thanks!