Project

General

Profile

Bug #11444

vi: NULL pointer errors

Added by Toomas Soome 3 months ago. Updated 3 months ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
cmd - userland programs
Start date:
Due date:
% Done:

100%

Estimated time:
Difficulty:
Medium
Tags:

Description

Build errors with NULL pointer:

    ctags.c: In function 'parseargs':
    ctags.c:1454:49: error: cast from pointer to integer of different size [-Werror=pointer-to-int-cast]
      for (; (av[i] != (char *)NULL) && (av[i][0] != (char)NULL); i++) {
                                                     ^
    cc1: all warnings being treated as errors

History

#1

Updated by Electric Monk 3 months ago

  • % Done changed from 90 to 100
  • Status changed from In Progress to Closed

git commit 9b73ad49e885405d1de7968ac2e3d8c72087aa7d

commit  9b73ad49e885405d1de7968ac2e3d8c72087aa7d
Author: Toomas Soome <tsoome@me.com>
Date:   2019-07-30T20:16:51.000Z

    11444 vi: NULL pointer errors
    Reviewed by: Andy Fiddaman <andy@omniosce.org>
    Approved by: Dan McDonald <danmcd@joyent.com>

Also available in: Atom PDF