Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Fix a compiler warning
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@6609 c8812cc2-4d05-0410-92ff-de0c093fc19c
  • Loading branch information
g_j_m committed Feb 17, 2007
1 parent d574996 commit 03c9a3c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/plugins/grid_maker/dbfopen.c
Expand Up @@ -631,7 +631,7 @@ static void *DBFReadAttribute(DBFHandle psDBF, int hEntity, int iField,
/* -------------------------------------------------------------------- */
/* Extract the requested field. */
/* -------------------------------------------------------------------- */
strncpy( pszStringField, pabyRec+psDBF->panFieldOffset[iField],
strncpy( pszStringField, (char*)(pabyRec+psDBF->panFieldOffset[iField]),
psDBF->panFieldSize[iField] );
pszStringField[psDBF->panFieldSize[iField]] = '\0';

Expand Down

0 comments on commit 03c9a3c

Please sign in to comment.