Skip to content

Commit 8f5f914

Browse files
committed
changed type of dat array in C output to unsigned char
1 parent 99545f6 commit 8f5f914

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

101 files changed

+102
-102
lines changed

Changelog.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
Version 6.6.1
2+
- Changed type of `dat` array in C++ output to `unsigned char`
23
- Fixed function type usage in -2nu for some Spin method pointers
34
- Updated copyright notices in COPYING.LIB
45

Test/Expect/rename.sh

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
#!/bin/sh
2-
for i in ../stest*.c
2+
for i in test*.c* test*.h
33
do
4-
b=`basename $i .c`
5-
echo mv $b.pasm $b_c.pasm
4+
sed -i 's/static char dat/static unsigned char dat/g' $i
65
done

Test/Expect/test013.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,6 @@
22
#include <propeller.h>
33
#include "test013.h"
44

5-
char test013::dat[] = {
5+
unsigned char test013::dat[] = {
66
0xaa, 0xbb, 0xcc, 0x00, 0xdd, 0xcc, 0xbb, 0xaa,
77
};

Test/Expect/test013.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55

66
class test013 {
77
public:
8-
static char dat[];
8+
static unsigned char dat[];
99
private:
1010
};
1111

Test/Expect/test014.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
#include <propeller.h>
33
#include "test014.h"
44

5-
char test014::dat[] = {
5+
unsigned char test014::dat[] = {
66
0x01, 0x00, 0x00, 0x00, 0xdd, 0xcc, 0xbb, 0xaa,
77
};
88
int32_t test014::Myfunc(void)

Test/Expect/test014.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55

66
class test014 {
77
public:
8-
static char dat[];
8+
static unsigned char dat[];
99
static int32_t Myfunc(void);
1010
private:
1111
};

Test/Expect/test015.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,6 @@
22
#include <propeller.h>
33
#include "test015.h"
44

5-
char test015::dat[] = {
5+
unsigned char test015::dat[] = {
66
0x00, 0x00, 0x00, 0x00,
77
};

Test/Expect/test015.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55

66
class test015 {
77
public:
8-
static char dat[];
8+
static unsigned char dat[];
99
private:
1010
};
1111

Test/Expect/test016.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
#include <propeller.h>
33
#include "test016.h"
44

5-
char test016::dat[] = {
5+
unsigned char test016::dat[] = {
66
0xf1, 0x03, 0xbc, 0xa0, 0x01, 0x00, 0x00, 0x00,
77
};
88
void test016::Start(void)

Test/Expect/test016.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55

66
class test016 {
77
public:
8-
static char dat[];
8+
static unsigned char dat[];
99
static void Start(void);
1010
private:
1111
};

0 commit comments

Comments
 (0)