Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
U
uniset2
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
1
Issues
1
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
UniSet project repositories
uniset2
Commits
bff4ea56
Commit
bff4ea56
authored
Oct 25, 2015
by
Pavel Vainerman
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
(UNetExchange): [ fixed ] error: overflow in implicit constant conversion [-Werror=overflow]
parent
d3c36df6
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
8 additions
and
8 deletions
+8
-8
UNetExchange.h
extensions/UNetUDP/UNetExchange.h
+4
-4
UNetSender.h
extensions/UNetUDP/UNetSender.h
+2
-2
UniExchange.h
extensions/UniNetwork/UniExchange.h
+2
-2
No files found.
extensions/UNetUDP/UNetExchange.h
View file @
bff4ea56
...
@@ -156,19 +156,19 @@ class UNetExchange:
...
@@ -156,19 +156,19 @@ class UNetExchange:
private
:
private
:
UNetExchange
();
UNetExchange
();
bool
initPause
;
timeout_t
initPause
;
UniSetTypes
::
uniset_rwmutex
mutex_start
;
UniSetTypes
::
uniset_rwmutex
mutex_start
;
PassiveTimer
ptHeartBeat
;
PassiveTimer
ptHeartBeat
;
UniSetTypes
::
ObjectId
sidHeartBeat
;
UniSetTypes
::
ObjectId
sidHeartBeat
;
in
t
maxHeartBeat
;
timeout_
t
maxHeartBeat
;
IOController
::
IOStateList
::
iterator
itHeartBeat
;
IOController
::
IOStateList
::
iterator
itHeartBeat
;
UniSetTypes
::
ObjectId
test_id
;
UniSetTypes
::
ObjectId
test_id
;
in
t
steptime
;
/*!< периодичность вызова step, [мсек] */
timeout_
t
steptime
;
/*!< периодичность вызова step, [мсек] */
std
::
atomic_bool
activated
;
std
::
atomic_bool
activated
;
in
t
activateTimeout
;
timeout_
t
activateTimeout
;
struct
ReceiverInfo
struct
ReceiverInfo
{
{
...
...
extensions/UNetUDP/UNetSender.h
View file @
bff4ea56
...
@@ -41,7 +41,7 @@ class UNetSender
...
@@ -41,7 +41,7 @@ class UNetSender
virtual
~
UNetSender
();
virtual
~
UNetSender
();
typedef
in
t
sendfactor_t
;
typedef
size_
t
sendfactor_t
;
struct
UItem
struct
UItem
{
{
...
@@ -166,7 +166,7 @@ class UNetSender
...
@@ -166,7 +166,7 @@ class UNetSender
std
::
shared_ptr
<
ThreadCreator
<
UNetSender
>
>
s_thr
;
// send thread
std
::
shared_ptr
<
ThreadCreator
<
UNetSender
>
>
s_thr
;
// send thread
unsigned
long
ncycle
=
{
0
};
/*!< номер цикла посылки */
size_t
ncycle
=
{
0
};
/*!< номер цикла посылки */
};
};
// -----------------------------------------------------------------------------
// -----------------------------------------------------------------------------
...
...
extensions/UniNetwork/UniExchange.h
View file @
bff4ea56
...
@@ -118,13 +118,13 @@ class UniExchange:
...
@@ -118,13 +118,13 @@ class UniExchange:
void
updateLocalData
();
void
updateLocalData
();
void
initIterators
();
void
initIterators
();
in
t
polltime
=
{
200
};
timeout_
t
polltime
=
{
200
};
PassiveTimer
ptUpdate
;
PassiveTimer
ptUpdate
;
bool
init_ok
=
{
false
};
bool
init_ok
=
{
false
};
SList
mymap
;
SList
mymap
;
size_t
maxIndex
=
{
0
};
size_t
maxIndex
=
{
0
};
in
t
smReadyTimeout
=
{
15000
};
// msec
timeout_
t
smReadyTimeout
=
{
15000
};
// msec
private
:
private
:
};
};
...
...
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