Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:wkazubski
qsdr
qsdr-fix-rds-encoder.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File qsdr-fix-rds-encoder.patch of Package qsdr
diff -up qsdr/gr_rds/gr_rds_data_encoder.cc.fix qsdr/gr_rds/gr_rds_data_encoder.cc --- qsdr/gr_rds/gr_rds_data_encoder.cc.fix 2014-01-27 10:39:10.000000000 +0100 +++ qsdr/gr_rds/gr_rds_data_encoder.cc 2018-09-11 15:03:46.471553819 +0200 @@ -183,7 +183,7 @@ void gr_rds_data_encoder::assign_from_xm /* recursively print the xml nodes */ void gr_rds_data_encoder::print_element_names(xmlNode * a_node){ xmlNode *cur_node = NULL; - char *node_name='\0', *attribute='\0', *value='\0'; + char *node_name=(char *)'\0', *attribute=(char *)'\0', *value=(char *)'\0'; int length=0; int tmp=0; @@ -385,7 +385,7 @@ void gr_rds_data_encoder::prepare_group4 infoword[1]=infoword[1]|((mjd>>15)&0x3); infoword[2]=(((mjd>>7)&0xff)<<8)|((mjd&0x7f)<<1)|((h>>4)&0x1); infoword[3]=((h&0xf)<<12)|(((m>>2)&0xf)<<8)|((m&0x3)<<6)| - ((toffset>0?0:1)<<5)|((abs(toffset*2))&0x1f); + ((toffset>0?0:1)<<5)|(((int)abs(toffset*2))&(int)0x1f); } // for now single-group only
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor