From 031ec58cfc7a20927302a5300eba3f5fc1709b50 Mon Sep 17 00:00:00 2001 From: Stephen Hines Date: Mon, 11 Oct 2010 10:54:21 -0700 Subject: Fix support for 64-bit integers. Change-Id: I4e2146a5fda41f280ee3f6f685a34f3cff28f05e --- libs/rs/rsScript.cpp | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'libs/rs/rsScript.cpp') diff --git a/libs/rs/rsScript.cpp b/libs/rs/rsScript.cpp index c2f9689..c5632b5 100644 --- a/libs/rs/rsScript.cpp +++ b/libs/rs/rsScript.cpp @@ -115,6 +115,12 @@ void rsi_ScriptSetVarI(Context *rsc, RsScript vs, uint32_t slot, int value) s->setVar(slot, &value, sizeof(value)); } +void rsi_ScriptSetVarJ(Context *rsc, RsScript vs, uint32_t slot, long long value) +{ + Script *s = static_cast