suspicous code in jsonl

XMLWordPrintableJSON

    • Type: Task
    • Resolution: Done
    • Priority: Major - P3
    • 1.6.0
    • Affects Version/s: None
    • Component/s: None
    • None
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      src/jsonsl/jsonsl.h:   unsigned int max_callback_level;
      src/jsonsl/jsonsl.c:   jsn->max_callback_level = -1;
      

      that looks a bit suspicious and causes compiler warning

      "src/jsonsl/jsonsl.c", line 123: warning #2068-D: integer conversion resulted
                in a change of sign
           jsn->max_callback_level = -1;
      

            Assignee:
            Unassigned
            Reporter:
            Hannes Magnusson (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: