Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
Y
yara-python
Overview
Overview
Details
Activity
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
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
fact-depend
yara-python
Commits
3a9aaef3
Commit
3a9aaef3
authored
Sep 15, 2015
by
Victor M. Alvarez
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix warnings
parent
88a5a5a1
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
3 deletions
+3
-3
yara
yara
+1
-1
yara-python.c
yara-python.c
+2
-2
No files found.
yara
@
09b52935
Subproject commit
f502bdf4903545cfc75dfe15bed650138da53a8
1
Subproject commit
09b52935653d0b2e836b9a58fde81074106a84e
1
yara-python.c
View file @
3a9aaef3
...
@@ -490,7 +490,7 @@ int yara_callback(
...
@@ -490,7 +490,7 @@ int yara_callback(
if
(
meta
->
type
==
META_TYPE_INTEGER
)
if
(
meta
->
type
==
META_TYPE_INTEGER
)
object
=
Py_BuildValue
(
"i"
,
meta
->
integer
);
object
=
Py_BuildValue
(
"i"
,
meta
->
integer
);
else
if
(
meta
->
type
==
META_TYPE_BOOLEAN
)
else
if
(
meta
->
type
==
META_TYPE_BOOLEAN
)
object
=
PyBool_FromLong
(
meta
->
integer
);
object
=
PyBool_FromLong
(
(
long
)
meta
->
integer
);
else
else
object
=
PY_STRING
(
meta
->
string
);
object
=
PY_STRING
(
meta
->
string
);
...
@@ -1045,7 +1045,7 @@ static PyObject* Rules_next(
...
@@ -1045,7 +1045,7 @@ static PyObject* Rules_next(
if
(
meta
->
type
==
META_TYPE_INTEGER
)
if
(
meta
->
type
==
META_TYPE_INTEGER
)
object
=
Py_BuildValue
(
"i"
,
meta
->
integer
);
object
=
Py_BuildValue
(
"i"
,
meta
->
integer
);
else
if
(
meta
->
type
==
META_TYPE_BOOLEAN
)
else
if
(
meta
->
type
==
META_TYPE_BOOLEAN
)
object
=
PyBool_FromLong
(
meta
->
integer
);
object
=
PyBool_FromLong
(
(
long
)
meta
->
integer
);
else
else
object
=
PY_STRING
(
meta
->
string
);
object
=
PY_STRING
(
meta
->
string
);
...
...
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