File xephem.crackUStar-signed.patch of Package xephem

---
 GUI/xephem/ucac.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Index: xephem-3.7.1/GUI/xephem/ucac.c
===================================================================
--- xephem-3.7.1.orig/GUI/xephem/ucac.c
+++ xephem-3.7.1/GUI/xephem/ucac.c
@@ -327,7 +327,7 @@ crackUStar (UStar u, int id, Obj *op)
 	op->f_dec = degrad (I4(u,4)*DPMAS);
 	op->f_epoch = J2000;
 	set_fmag (op, I2(u,8)*0.01);
-	if ((char)u[30] <= -27 && (char)u[31] <= -27) {
+	if ((signed char)u[30] <= -27 && (signed char)u[31] <= -27) {
 	    /* PM only store if "goodness of fit" is less than 5 */
 	    op->f_pmRA =  degrad(I4(u,20)*0.1*DPMAS)/365.0;
 	    op->f_pmdec = degrad(I4(u,24)*0.1*DPMAS)/365.0;
openSUSE Build Service is sponsored by