summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThierry Banel <tbanelwebmin@free.fr>2016-03-20 15:24:14 +0100
committerNicolas Goaziou <mail@nicolasgoaziou.fr>2016-03-26 00:27:39 +0100
commitf9464d2678c25129cbdcf77676cb59dae0dd93a9 (patch)
tree813177ebd2e9bdd03a9fd3cc3c68ee0d334cd521
parenta737f20ca42738170e89129a2f4b5baeb9492f9a (diff)
downloadorg-mode-f9464d2678c25129cbdcf77676cb59dae0dd93a9.tar.gz
ob-C: use size_t in babel D
* lisp/ob-C.el (org-babel-C-header-to-C): change ulong to size_t for indexing a table as mandated by the latest version of the D language (thanks to Chris Andrews)
-rw-r--r--lisp/ob-C.el2
1 files changed, 1 insertions, 1 deletions
diff --git a/lisp/ob-C.el b/lisp/ob-C.el
index a6d4d5e..91063eb 100644
--- a/lisp/ob-C.el
+++ b/lisp/ob-C.el
@@ -431,7 +431,7 @@ specifying a variable with the name of the table."
table table (length headers) table))
(d
(format
- "string %s_h (ulong row, string col) { return %s[row][get_column_num(%s_header,col)]; }"
+ "string %s_h (size_t row, string col) { return %s[row][get_column_num(%s_header,col)]; }"
table table table))))))
(provide 'ob-C)