Raymond Toy pushed to branch issue-242-c-call-char-result-wrong at cmucl / cmucl

Commits:

2 changed files:

Changes:

  • tests/issues.lisp
    ... ... @@ -1088,7 +1088,7 @@
    1088 1088
       (flet ((fun (n)
    
    1089 1089
     	   (setf test-arg n)
    
    1090 1090
     	   (alien:alien-funcall
    
    1091
    -	    (alien:extern-alien "unsigned_to_bool"
    
    1091
    +	    (alien:extern-alien "int_to_bool"
    
    1092 1092
     				(function alien:boolean))))
    
    1093 1093
     	 (expected (n)
    
    1094 1094
     	   (not (zerop n))))
    

  • tests/test-return.c
    ... ... @@ -38,7 +38,7 @@ int_to_unsigned_int()
    38 38
       return (unsigned int) test_arg;
    
    39 39
     }
    
    40 40
     
    
    41
    -_Bool unsigned_to_bool()
    
    41
    +_Bool int_to_bool()
    
    42 42
     {
    
    43 43
       return (_Bool) test_arg;
    
    44 44
     }