getNamedREsource doesn't compile


#1

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.


#2

The current codebase does use an unsigned int.


#3

Not a big issue but I had pulled down the most recent official version from your site — (http://sourceforge.net/projects/juce/files/juce/) so just thought I’d mention it.

juce_module_info says
"version": “2.0.21”,