[hackers] [scc] [tests] Use stdint.h in 0107-bnot.c || Roberto E. Vargas Caballero

From: <git_AT_suckless.org>
Date: Tue, 24 Jan 2017 17:06:58 +0100 (CET)

commit 46372e9a0d5cbac26feb3890f0539c6d7d327f71
Author: Roberto E. Vargas Caballero <k0ga_AT_shike2.com>
AuthorDate: Tue Jan 24 17:06:05 2017 +0100
Commit: Roberto E. Vargas Caballero <k0ga_AT_shike2.com>
CommitDate: Tue Jan 24 17:06:05 2017 +0100

    [tests] Use stdint.h in 0107-bnot.c
    
    This test was assuming several sizes in the integer types
    which is totall wrong for a test.

diff --git a/tests/execute/0107-bnot.c b/tests/execute/0107-bnot.c
index 464e7f2..8452577 100644
--- a/tests/execute/0107-bnot.c
+++ b/tests/execute/0107-bnot.c
_AT_@ -1,10 +1,11 @@
 
+#include <stdint.h>
 
 int
 main()
 {
- int x;
- long long l;
+ int32_t x;
+ int64_t l;
         
         x = 0;
         l = 0;
Received on Tue Jan 24 2017 - 17:06:58 CET

This archive was generated by hypermail 2.3.0 : Tue Jan 24 2017 - 17:12:19 CET