C++: Fix typo in MallocSizeExpr

The first argument is index 0, not 1.
This commit is contained in:
Jonas Jensen
2020-01-21 09:09:49 +01:00
committed by GitHub
parent 79811fcccd
commit 0568ed6451

View File

@@ -122,7 +122,7 @@ class MallocSizeExpr extends BufferAccess, FunctionCall {
override Expr getPointer() { none() }
override Expr getAccessedLength() { result = getArgument(1) }
override Expr getAccessedLength() { result = getArgument(0) }
}
class NetworkFunctionCall extends FunctionCall {