getNamedREsource doesn't compile

After getting a plugin to build, I thought I’d take a look at the general Juce Demo project.

There’s a function in BinaryData.cpp called getNamedResource which would not compile until I changed the type of ‘hash’ from int to unsigned long. It complained (correctly that the values for the case statements were too long to fit in an int.

The current codebase does use an unsigned int.

Not a big issue but I had pulled down the most recent official version from your site — ( so just thought I’d mention it.

juce_module_info says
"version": “2.0.21”,