rizinorg / rz-silhouette

Rizin client plugin for the Rizin Silhouette Server
8 stars 2 forks source link

Use RzPVector for sections #9

Closed XVilka closed 6 months ago

XVilka commented 6 months ago

Fix this problem:

../src/sil_client.c:485:7: warning: incompatible pointer types assigning to 'const RzList *' (aka 'const struct rz_list_t *') from 'const RzPVector *' (aka 'const struct rz_pvector_t *') [-Wincompatible-pointer-types]
        list = rz_bin_object_get_sections_all(bo);
             ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
1 warning generated.

It should be used in 0.7.0/0.7.1 releases as well (or Cutter 2.3.4) because the API change happened before 0.7.0