Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion display/d.where/where.c
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ extern struct pj_info iproj, oproj, tproj;
int where_am_i(char **coords, FILE *fp, int have_spheroid, int decimal,
int dcoord)
{
char buf1[50], buf2[50];
char buf1[320], buf2[320];
int screen_x, screen_y;
double east, north;
int projection;
Expand Down
6 changes: 3 additions & 3 deletions lib/gis/wind_format.c
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ static void format_double(double, char *, int);
* its ASCII representation (into <i>buf</i>).
*
* \param north northing
* \param[out] buf buffer to hold formatted string
* \param[out] buf buffer (>=320 bytes) to hold formatted string
* \param projection projection code, or -1 to force full precision FP
*/
void G_format_northing(double north, char *buf, int projection)
Expand All @@ -41,7 +41,7 @@ void G_format_northing(double north, char *buf, int projection)
* its ASCII representation (into <i>buf</i>).
*
* \param east easting
* \param[out] buf buffer to hold formatted string
* \param[out] buf buffer (>=320 bytes) to hold formatted string
* \param projection projection code, or -1 to force full precision FP
*/
void G_format_easting(double east, char *buf, int projection)
Expand All @@ -61,7 +61,7 @@ void G_format_easting(double east, char *buf, int projection)
* ASCII representation (into <i>buf</i>).
*
* \param res resolution value
* \param[out] buf buffer to hold formatted string
* \param[out] buf buffer (>=320 bytes) to hold formatted string
* \param projection projection code, or -1 to force full precision FP
*/
void G_format_resolution(double res, char *buf, int projection)
Expand Down
2 changes: 1 addition & 1 deletion ps/ps.map/map_info.c
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
int map_info(void)
{
char buf[400];
char east[50], west[50], north[50], south[50];
char east[320], west[320], north[320], south[320];
double x, y, k, fontsize, dy, margin;
static char *region = "REGION: ";

Expand Down
2 changes: 1 addition & 1 deletion raster/r.coin/print_hdr.c
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ int print_coin_hdr(int Conformat)
{
char unit_type[20];
const char *mapset, *location;
char north[30], south[30], east[30], west[30];
char north[320], south[320], east[320], west[320];

mapset = G_mapset();
location = G_location();
Expand Down
6 changes: 3 additions & 3 deletions raster/r.report/header.c
Original file line number Diff line number Diff line change
Expand Up @@ -21,9 +21,9 @@ int header(int unit1, int unit2)
int i, k;
char buf[BUFSZ];
char tbuf1[256], tbuf2[256];
char north[50], south[50];
char east[50], west[50];
char ns_res[50], ew_res[50];
char north[320], south[320];
char east[320], west[320];
char ns_res[320], ew_res[320];
int len1, len2;
char *label;

Expand Down
Loading