Hi Ralphy

Been a busy week, sorry this has taken me a while.

Using the new makefile doesn't make any difference, but I can fix the
issue by explicitly casting the -1 to a char:

if (shortopt == -1) {
break;
}

becomes

if (shortopt == (char)-1) {
break;
}

After that change, everything seems to work fine.

I assume that this would be due to compiler differences? My gcc gives
its version as:

gcc (Ubuntu 4.3.2-1ubuntu12) 4.3.2

Would it be worth making that change in the official squeezeslave
source? I assume that adding the explicit cast wouldn't break other
platforms.

Whatever you decide to do, everything's working well for me now. Thanks
again for all your help,

Nathaniel


-- 
pukekawa
------------------------------------------------------------------------
pukekawa's Profile: http://forums.slimdevices.com/member.php?userid=30616
View this thread: http://forums.slimdevices.com/showthread.php?t=63799

_______________________________________________
plugins mailing list
plugins@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/plugins

Reply via email to