contenttype test: don't pass -1 as length
authorRyan Lortie <desrt@desrt.ca>
Tue, 1 May 2012 19:40:15 +0000 (15:40 -0400)
committerRyan Lortie <desrt@desrt.ca>
Tue, 1 May 2012 22:16:05 +0000 (15:16 -0700)
commit56ca8add1088385a874fdb371a6d490926109710
tree1cac6da28503fa858eed78bd391c26d34b56a1f4
parent8db824e00b69302dafed9ceddd6f34abf5202516
contenttype test: don't pass -1 as length

g_content_type_guess() takes a gsize, not a gssize, and -1 does not mean
"I am passing a NULL terminated string".
gio/tests/contenttype.c