History

Fix type_to_str test for unsigned int

Thomas Preud'homme committed 12 years ago

Commit 33cea541 parent fdb3b101 file · +1 −1Browse files

Unified · Split

tccgen.c+1−1
@@ -2268,7 +2268,7 @@ static void type_to_str(char *buf, int buf_size, · 2267 unmodified lines
2268 pstrcat(buf, buf_size, "const ");2268 pstrcat(buf, buf_size, "const ");
2269 if (t & VT_VOLATILE)2269 if (t & VT_VOLATILE)
2270 pstrcat(buf, buf_size, "volatile ");2270 pstrcat(buf, buf_size, "volatile ");
2271 if (t & (VT_DEFSIGN | VT_UNSIGNED))2271 if ((t & (VT_DEFSIGN | VT_UNSIGNED)) == (VT_DEFSIGN | VT_UNSIGNED))
2272 pstrcat(buf, buf_size, "unsigned ");2272 pstrcat(buf, buf_size, "unsigned ");
2273 else if (t & VT_DEFSIGN)2273 else if (t & VT_DEFSIGN)
2274 pstrcat(buf, buf_size, "signed ");2274 pstrcat(buf, buf_size, "signed ");

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t