Hi Alex,
Try changing uvec4 to vec4. The documentation for mix is here:
https://www.opengl.org/sdk/docs/man/html/mix.xhtml
According to the OpenGL documentation, genType can be float vec2 vec3 or vec4. There are no prototypes in mix() for genUType, which uvec4 is part of.
Hope this helps,
Thanks,
Tony.