Opened 10 years ago

Closed 10 years ago

#2885 closed defect (fixed)

[raster] : raster2pgsql append_stringbuffer assignment discards 'const'

Reported by: robe Owned by: dustymugs
Priority: medium Milestone: PostGIS 2.2.0
Component: raster Version: master
Keywords: history Cc:

Description

x86_64-w64-mingw32-gcc -g -O2  -DDLL_EXPORT -DPIC  -Wall -Wmissing-prototypes  -I../rt_core  -I../../liblwgeom  -I/projects/proj/rel-4.8.0w64gcc48/include  -I/projects/gdal/rel-1.11.0w64gcc48/include  -I/projects/geos/rel-3.5.0devw64gcc48/include    -I/projects/rel-libiconv-1.13.1w64gcc48/include -c raster2pgsql.c
raster2pgsql.c: In function 'append_stringbuffer':
raster2pgsql.c:809:35: warning: assignment discards 'const' qualifier from pointer target type [enabled by default]
  buffer->line[buffer->length - 1] = str;
                                   

Change History (1)

comment:1 by dustymugs, 10 years ago

Keywords: history added
Resolution: fixed
Status: newclosed

Fixed in -trunk as of r12880

Note: See TracTickets for help on using tickets.