Removed the attempt to set the clock, which fails near constantly. Changed the size parameter in upload to be an unsigned long int. SLowly reducing the compiler errors. git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@9891 67ed7778-7388-44ab-90cf-0a291f65f57c