sparsify: Add auto-detection of .vdi files.
[libguestfs.git] / fish / hexedit.c
index bd3efc8..472aa8f 100644 (file)
@@ -13,7 +13,7 @@
  *
  * You should have received a copy of the GNU General Public License
  * along with this program; if not, write to the Free Software
- * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
+ * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
  */
 
 #include <config.h>
@@ -35,7 +35,7 @@
 static off_t get_size (const char *filename);
 
 int
-run_hexedit (const char *cmd, int argc, char *argv[])
+run_hexedit (const char *cmd, size_t argc, char *argv[])
 {
   if (argc < 1 || argc > 3) {
     fprintf (stderr, _("hexedit (device|filename) [max | start max]\n"));