Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
L
libSDL
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
PocketInsanity
libSDL
Commits
f3716d8a
Commit
f3716d8a
authored
Jan 22, 2011
by
Sam Lantinga
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fixed size_t warnings on 64-bit build
parent
dcd48df0
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
2 deletions
+3
-2
SDL_touch.c
src/events/SDL_touch.c
+2
-1
SDL_string.c
src/stdlib/SDL_string.c
+1
-1
No files found.
src/events/SDL_touch.c
View file @
f3716d8a
...
...
@@ -100,7 +100,8 @@ int
SDL_AddTouch
(
const
SDL_Touch
*
touch
,
char
*
name
)
{
SDL_Touch
**
touchPads
;
int
index
,
length
;
int
index
;
size_t
length
;
if
(
SDL_GetTouchIndexId
(
touch
->
id
)
!=
-
1
)
{
SDL_SetError
(
"Touch ID already in use"
);
...
...
src/stdlib/SDL_string.c
View file @
f3716d8a
...
...
@@ -408,7 +408,7 @@ size_t SDL_utf8strlcpy(char *dst, const char *src, size_t dst_bytes)
{
size_t
src_bytes
=
SDL_strlen
(
src
);
size_t
bytes
=
SDL_min
(
src_bytes
,
dst_bytes
-
1
);
in
t
i
=
0
;
size_
t
i
=
0
;
char
trailing_bytes
=
0
;
if
(
bytes
)
{
...
...
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