]> git.eshelyaron.com Git - emacs.git/commitdiff
Pacify gcc -Wpointer-sign
authorPaul Eggert <eggert@cs.ucla.edu>
Sat, 3 Feb 2024 06:53:23 +0000 (22:53 -0800)
committerEshel Yaron <me@eshelyaron.com>
Sun, 4 Feb 2024 11:04:48 +0000 (12:04 +0100)
* src/print.c (print_object): SDATA → SSDATA.

(cherry picked from commit 138decdc9e68a5fc9dddd1a212ed5d63d77d5d22)

src/print.c

index c2beff0ed55332e51445f1df20879e19a73b5098..e2252562915d26ff05ee03e951580e2107a5b5cd 100644 (file)
@@ -2267,7 +2267,7 @@ print_object (Lisp_Object obj, Lisp_Object printcharfun, bool escapeflag)
        }
       else if (STRINGP (num))
        {
-         strout (SDATA (num), SCHARS (num), SBYTES (num), printcharfun);
+         strout (SSDATA (num), SCHARS (num), SBYTES (num), printcharfun);
          goto next_obj;
        }
     }