Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
P
proview
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Esteban Blanc
proview
Commits
14d2ac10
Commit
14d2ac10
authored
Jun 15, 2005
by
claes
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
UIntxx was written as signed
parent
428be498
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
xtt/lib/xtt/src/xtt_xnav.cpp
xtt/lib/xtt/src/xtt_xnav.cpp
+3
-3
No files found.
xtt/lib/xtt/src/xtt_xnav.cpp
View file @
14d2ac10
...
...
@@ -502,7 +502,7 @@ void xnav_attrvalue_to_string( int type_id, pwr_tTid tid, void *value_ptr,
case
pwr_eType_UInt8
:
{
if
(
!
format
)
*
len
=
sprintf
(
str
,
"%
d
"
,
*
(
unsigned
char
*
)
value_ptr
);
*
len
=
sprintf
(
str
,
"%
u
"
,
*
(
unsigned
char
*
)
value_ptr
);
else
*
len
=
sprintf
(
str
,
format
,
*
(
unsigned
char
*
)
value_ptr
);
break
;
...
...
@@ -510,7 +510,7 @@ void xnav_attrvalue_to_string( int type_id, pwr_tTid tid, void *value_ptr,
case
pwr_eType_UInt16
:
{
if
(
!
format
)
*
len
=
sprintf
(
str
,
"%h
d
"
,
*
(
unsigned
short
*
)
value_ptr
);
*
len
=
sprintf
(
str
,
"%h
u
"
,
*
(
unsigned
short
*
)
value_ptr
);
else
*
len
=
sprintf
(
str
,
format
,
*
(
unsigned
short
*
)
value_ptr
);
break
;
...
...
@@ -519,7 +519,7 @@ void xnav_attrvalue_to_string( int type_id, pwr_tTid tid, void *value_ptr,
case
pwr_eType_Mask
:
{
if
(
!
format
)
*
len
=
sprintf
(
str
,
"%
d
"
,
*
(
unsigned
int
*
)
value_ptr
);
*
len
=
sprintf
(
str
,
"%
u
"
,
*
(
unsigned
int
*
)
value_ptr
);
else
*
len
=
sprintf
(
str
,
format
,
*
(
unsigned
int
*
)
value_ptr
);
break
;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment