mirror of
https://gitlab.freedesktop.org/pkg-config/pkg-config.git
synced 2026-05-02 11:58:02 +02:00
2002-10-11 Havoc Pennington <hp@redhat.com>
Author: hp Date: 2002-10-11 20:40:38 GMT 2002-10-11 Havoc Pennington <hp@redhat.com> * pkg.c (verify_package): fix to properly cast iter->data to char* before doing pointer arithmetic, from David Robins
This commit is contained in:
parent
faabbcd36d
commit
759b7dcd40
2 changed files with 7 additions and 1 deletions
|
|
@ -1,3 +1,8 @@
|
|||
2002-10-11 Havoc Pennington <hp@redhat.com>
|
||||
|
||||
* pkg.c (verify_package): fix to properly cast iter->data to char*
|
||||
before doing pointer arithmetic, from David Robins
|
||||
|
||||
2002-10-10 Havoc Pennington <hp@redhat.com>
|
||||
|
||||
* configure.in: 0.14
|
||||
|
|
|
|||
3
pkg.c
3
pkg.c
|
|
@ -813,7 +813,8 @@ verify_package (Package *pkg)
|
|||
system_dir_iter = system_directories;
|
||||
while (system_dir_iter != NULL)
|
||||
{
|
||||
if (strcmp (system_dir_iter->data, iter->data + offset) == 0)
|
||||
if (strcmp (system_dir_iter->data,
|
||||
((char*)iter->data) + offset) == 0)
|
||||
{
|
||||
debug_spew ("Package %s has %s in Cflags\n",
|
||||
pkg->name, (gchar *)iter->data);
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue