Project

General

Profile

Bug #11443

ttymon: NULL pointer errors

Added by Toomas Soome about 1 month ago. Updated 25 days 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:

    sttyparse.c: In function 'parse_encoded':
    sttyparse.c:606:20: error: cast from pointer to integer of different size [-Werror=pointer-to-int-cast]
        if (*(t + 1) == (char)NULL) {
                        ^
    cc1: all warnings being treated as errors

History

#1

Updated by Electric Monk 25 days ago

  • % Done changed from 90 to 100
  • Status changed from Pending RTI to Closed

git commit df8910b3b3628a21874ee73195c149a955fce3a3

commit  df8910b3b3628a21874ee73195c149a955fce3a3
Author: Toomas Soome <tsoome@me.com>
Date:   2019-07-30T20:14:46.000Z

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

Also available in: Atom PDF