Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
K
kicad-source-mirror
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Commits
Open sidebar
Elphel
kicad-source-mirror
Commits
2d516230
Commit
2d516230
authored
Dec 17, 2007
by
dickelbeck
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
satisfy compiler warning
parent
b08a3bb3
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
11 additions
and
2 deletions
+11
-2
gendrill.cpp
pcbnew/gendrill.cpp
+11
-2
No files found.
pcbnew/gendrill.cpp
View file @
2d516230
...
@@ -294,8 +294,17 @@ void WinEDA_DrillFrame::SetParams()
...
@@ -294,8 +294,17 @@ void WinEDA_DrillFrame::SetParams()
wxString
ps
=
m_Choice_Precision
->
GetStringSelection
();
wxString
ps
=
m_Choice_Precision
->
GetStringSelection
();
wxString
l
=
ps
.
substr
(
0
,
1
);
wxString
l
=
ps
.
substr
(
0
,
1
);
wxString
r
=
ps
.
substr
(
2
,
1
);
wxString
r
=
ps
.
substr
(
2
,
1
);
l
.
ToLong
(
(
long
*
)
&
s_Precision
.
m_lhs
);
r
.
ToLong
(
(
long
*
)
&
s_Precision
.
m_rhs
);
// a long is not an int on all machines
long
lhs
;
long
rhs
;
l
.
ToLong
(
&
lhs
);
r
.
ToLong
(
&
rhs
);
s_Precision
.
m_lhs
=
lhs
;
s_Precision
.
m_rhs
=
rhs
;
}
}
...
...
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